xsl-list
[Top] [All Lists]

RE: Creating a variable based on another element value

2003-10-08 07:24:04

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



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