[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Nesting {...}


Subject: Re: [xsl] Nesting {...}
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 25 Jan 2003 14:57:36 GMT

> Is it possible to have two {...} expressions in one?

No there would be no point, inside {} you can use any XPath expression
(and {} never has any meaning in XPath expressions other than a
character in a string.



> (NOTE: in person[@initials='{@initials}'] the two 'initials' attributes
> are different; the first is the initials attribute of a 'person' element
> and the second and third ones are the initials attributes of the context
> node.)

use current()/@initials to access the latter as usual.

David

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



Current Thread
Keywords