xsl-list
[Top] [All Lists]

Re: use variable as node-set for key get NullPointerException

2002-12-24 14:30:49
Xiaocun Xu wrote:

<xsl:variable name="LineItemLotColumn" select="6"/>
<xsl:key name="lineitemLotsKey"
match="$LineItem[cell[(_at_)column=$LineItemLotColumn]]"
use="cell[(_at_)column=$LineItemLotColumn]"/>
xsl:key is top-level element and "match" and "use" attributes cannot contain variable references, see http://www.w3.org/TR/xslt#key.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>