[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xpath expression with " | "
Hi, > i found on an old xsl an "Xpath" expression like this: > > <xsl:if test=" /AAA /BBB/( CCC | EEE ) [ . != '']"> > <xsl:apply-template......... You can't have union expressions within steps in XPath 1.0. You need to do: (/AAA/BBB/CCC | /AAA/BBB/EEE)[. != ''] Ironically, unions in steps is legal (again?) in XPath 2.0... Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
|
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
|