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
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--