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

Subject: Re: [xsl] use variable as node-set for key get NullPointerException
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 24 Dec 2002 23:30:49 +0200
Xiaocun Xu wrote:

<xsl:variable name="LineItemLotColumn" select="6"/>
<xsl:key name="lineitemLotsKey"
match="$LineItem[cell[@column=$LineItemLotColumn]]"
use="cell[@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



Current Thread