RE: [xsl] Creating a variable based on another element value

Subject: RE: [xsl] Creating a variable based on another element value
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Wed, 8 Oct 2003 15:24:04 +0100
So close...

<xsl:variable name="secpos"
select="viewentry[entrydata/text='Security']/@pos" />

You can use predicates (the [...]) anywhere in the xpath

cheers
andrew

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


Current Thread