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 |
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(.),'=',.)"/>
-- 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 |