[xsl] Re: Logic OR in the XPath

Subject: [xsl] Re: Logic OR in the XPath
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 23 Oct 2003 23:13:55 +0200
> I have something here but didn't work. Please advise
> <xsl:when test="not(./*[name(.) = 'Shared']) |
> (./Shared/text() ='N')">

"|" is the union operator and it can be used only with node-sets.

You need the "or" operator.


Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread