A
Andy Fish
In my XSLT stylesheet, if I call
<xsl:number level="any" count="sdfsjdfjsdfksndfn"/>
where there are no preceeding nodes called "sdfsjdfjsdfksndfn" I would
expect it to return 0. However, on the XSLT processor I'm using (.net
framework 1.1) it seems to return an empty string (or possibly an empty node
set)
I had a look here: http://www.w3.org/TR/xslt and I can't find any
specification of what should happen if xsl:number can't find any nodes to
number. Is it safe to rely on the "empty string" behaviour?
Andy
<xsl:number level="any" count="sdfsjdfjsdfksndfn"/>
where there are no preceeding nodes called "sdfsjdfjsdfksndfn" I would
expect it to return 0. However, on the XSLT processor I'm using (.net
framework 1.1) it seems to return an empty string (or possibly an empty node
set)
I had a look here: http://www.w3.org/TR/xslt and I can't find any
specification of what should happen if xsl:number can't find any nodes to
number. Is it safe to rely on the "empty string" behaviour?
Andy