Re: Xpath expression with " | "2004-08-05 01:36:12Hi, 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/
|
|