Re: [xsl] logical operators?

Subject: Re: [xsl] logical operators?
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Feb 2001 13:06:29 +0100 (MET)
> Hmm, am i missing something... 

Probably the XPath spec:

> how do I select all ancestors that are either
> thread or post elements
> I thought something like  select="ancestor::post $and$ ancestor::thread" but
> obviously I was wrong..

$and$ should be and
But then it is a boolean expression, that's not what you want.
You need the union operator:

select="ancestor::post | ancestor::thread"


|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW: |

 XSL-List info and archive:

Current Thread