[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Bug or feature
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|