This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Bug or feature
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Bug or feature
- From: "Nestel, Frank" <frank dot nestel at coi dot de>
- Date: Wed, 25 Apr 2001 14:21:59 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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