|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Must be a better way to write this XPath expressio
> In my XSL to get sections 'a' and 'b' I would have thought > something like: > > /data/stuff/(a|b) > > would work but the only thing I can get to work is: > > /data/stuff/a|/data/stuff/b > > which just seems too long winded for there not to be a better way to > express it. Which is why the former syntax is now allowed in XPath 2.0. In 1.0 you can always use variables: ($a/a | $a/b) Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








