Subject: Re: Re: Re: Re: [xsl] Namespace and key function issue? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 12 Oct 2010 18:37:42 -0400 |
For the bold text span it reported:
<!-- text:style-name=T7 key= count=1 lookup= count=1-->
<Emphasis type="">Bold</Emphasis>
So i guess key and lookup are failing.
key=<xsl:value-of select="key('style:find_style',@text:style-name)"/> lookup=<xsl:value-of select="//style:style[@style:name= current()/@text:style-name]"/>
key=<xsl:value-of select="key('style:find_style',@text:style-name)/@*"/> lookup=<xsl:value-of select="//style:style[@style:name= current()/@text:style-name]/@*"/>
key=<xsl:value-of select="key('style:find_style',@text:style-name)/ @*/concat(name(.),'=',.)"/> lookup=<xsl:value-of select="//style:style[@style:name= current()/@text:style-name]/ @*/concat(name(.),'=',.)"/>
I'll try this outside OO.
-- XSLT/XQuery training: after http://XMLPrague.cz 2011-03-28/04-01 Vote for your XML training: http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: Re: Re: [xsl] Namespace and, russurquhart1 | Thread | Re: Re: Re: Re: [xsl] Namespace and, G. Ken Holman |
Re: Re: Re: Re: [xsl] Namespace and, russurquhart1 | Date | Re: Re: Re: Re: [xsl] Namespace and, G. Ken Holman |
Month |