[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 07/02/2013 17:17, Michel Hendriksen wrote:
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
Re: [xsl] document function cached?
Subject: Re: [xsl] document function cached? From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 07 Feb 2013 17:26:04 +0000 |
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?, Michel Hendriksen | Thread | Re: [xsl] document function cached?, Michel Hendriksen |
Re: [xsl] document function cached?, Michel Hendriksen | Date | Re: [xsl] document function cached?, Michel Hendriksen |
Month |