Prior to the latest release, we were able to reference variables in xalan:evaluate expressions.  In particular, assume that variable $Row references an element node that has child elements X, Y, and Z.

 

We then use:

 

<xsl:variable name="Row" select="."/>

 

<THING1><xsl:value-of select="xalan:evaluate(‘$Row/X’)"/><THING1>

<THING2><xsl:value-of select="xalan:evaluate(‘$Row/Y’)"/><THING2>

<THING3><xsl:value-of select="xalan:evaluate(‘$Row/Z’)"/><THING3>

 

It worked fine in prior releases of Xalan, but is broken now.  The second and subsequent evaluations fail (with no exceptions/errors – they return an empty string or empty result).  It seems like the variable reference gets “whacked out” after its first use.

 

HELP!

 

Many thanks,

 

Rick Bullotta

SAP Labs, LLC

 

Reply via email to