Subject: Re: [xsl] xsl:number problem From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 20 Jun 2003 13:10:47 -0400 |
However
After I changed to <xsl:number level="any" count="productId[publisher='NETg' or publisher='Wave']"/> or
<xsl:number level="any" count="//productId[publisher='NETg' or publisher='Wave']"/>
Clearly the second expression starting with // will always give the same value as it always counts all the nodes in the document, since it starts with / it does not depend on the current node at all.
Always finding more corners to enlighten, Wendell
___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_ "Thus I make my own use of the telegraph, without consulting the directors, like the sparrows, which I perceive use it extensively for a perch." -- Thoreau
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:number problem, David Carlisle | Thread | Re: [xsl] xsl:number problem, David Carlisle |
Re: [xsl] Global, dynamically-named, Mark Miller | Date | RE: [xsl] doctype declaration and m, Wendell Piez |
Month |