[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Referencing previous contexts in xpath/Xsl
I'm trying to construct and xpath for a select attribute in Xsl. What I have is something like this In general, (a) for XPath 1.0, no; (b) for XPath 2.0, yes, by using range variables, for example: select="x[some $X in $a/* satisfies $X/name = @b] But in this case, perhaps you want select="x[$a/*/name = @b]" Michael Kay Saxonica
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|