Subject: Re: [xsl] document function cached? From: "Michel Hendriksen" <michel.hendriksen@xxxxxxxxx> Date: Thu, 7 Feb 2013 21:54:03 +0100 |
On 07/02/2013 17:17, Michel Hendriksen wrote:<xsl:message><xsl:value-of select="$file-nbn-set/nbn-set/nbn[position()]"/></xsl:message>
a filter of /foo/bar[position()] with a numeric value
is short for the boolean test
/foo/bar[position()=position()]
so the test is always true.
Also xsl:message has a select attribute so you can use
<xsl:message select="$file-nbn-set/nbn-set/nbn[position()=5]"/>
David
-- google plus: https:/profiles.google.com/d.p.carlisle
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] document function cached?, David Carlisle | Thread | Re: [xsl] document function cached?, David Carlisle |
Re: [xsl] document function cached?, David Carlisle | Date | Re: [xsl] document function cached?, David Carlisle |
Month |