|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Xpath expression with " | "
> i found on an old xsl an "Xpath" expression like this: > > > <xsl:if test=" /AAA /BBB/( CCC | EEE ) [ . != '']"> This is legal in XPath 2.0 but not in XPath 1.0. It might also have been legal in Microsoft's WD-xsl dialect, I have no idea. In XPath 1.0 it needs to be expanded to (/AAA/BBB/CCC | /AAA/BBB/EEE ) [ . != ''] Michael Kay > <xsl:apply-template......... > > i test it with xalan/Tomcat (last version) and have the error for this > line: > > A stage of site was awaited after the token ''/'' or ''//'' > > the expression /BBB/( CCC | EEE ) is not valid ? > Is there an alternativ grammar for multi union ? > > merci
|
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








