[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 2010-10-12 18:37 -0400, I wrote:
To get the above to work you'll have to change version="1.0" to version="2.0" in your <xsl:stylesheet>. That may have other ramifications in your stylesheet, so you may have to revert back to 1.0 when you are done diagnosing this.
. . . . . . . . . Ken
Re: Re: Re: Re: [xsl] Namespace and key function issue?
Subject: Re: Re: Re: Re: [xsl] Namespace and key function issue? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 12 Oct 2010 21:34:24 -0400 |
At 2010-10-12 18:37 -0400, I wrote:
If you are using XSLT 2.0 (which is in OpenOffice 3.2), you can expose all of the attributes (but not their names) using something like:
...
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(.),'=',.)"/>
To get the above to work you'll have to change version="1.0" to version="2.0" in your <xsl:stylesheet>. That may have other ramifications in your stylesheet, so you may have to revert back to 1.0 when you are done diagnosing this.
. . . . . . . . . Ken
-- 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, G. Ken Holman | Thread | [xsl] Count items in a key ?, Fabien Tillier |
Re: Re: Re: Re: [xsl] Namespace and, G. Ken Holman | Date | [xsl] Count items in a key ?, Fabien Tillier |
Month |