Subject: [xsl] Bug or feature From: "Nestel, Frank" <frank.nestel@xxxxxx> Date: Wed, 25 Apr 2001 14:21:59 +0200 |
I mistakenly used <xsl:variable name="gummibaum" ><xsl:value-of select="substring(2,string-length($sort)-2,$sort)"/></xsl:variable> with a string containing variable $sort. The result was not an error with this particular line, but a run time exception in the stylesheet, when the variable is being used. This happened with Xalan 1. I'm now curious if this is how it should be. It looks slightly like lazy evaluation of variables, but it took me some time that not the XPath which used $gummibaum was wrong, but the definition of $gummibaum :-) Thank you, Frank XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Genetic algorithm in XSL: Sne, Juan Julian Merelo G | Thread | RE: [xsl] Bug or feature, Michael Kay |
RE: [xsl] JAXP/TrAX: how to set par, Michael Kay | Date | Re: [xsl] Re: XSL-List Digest V3 #7, VZAKON |
Month |