[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member