[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: logical operators?
> Hmm, am i missing something... Probably the XPath spec: http://www.w3.org/TR/xpath > 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" Cheers, Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|