This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: resolving query expressions
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 26 Feb 2002 15:39:58 GMT
- Subject: Re: [xsl] resolving query expressions
- References: <002801c1bed6$baded8d0$e4a1fea9@webspace>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<!-- resolve OR terms by seperate xsl:copy-of //-->
why not just use the xpath and and or?
both of your examples
((author='Knuth' OR title='Algorithms') AND releaseDate >= 1999) or another
one
((title='Windows XP' AND doctype='manual') OR (doctype='manpage' ANDNOT
title='Linux' ))
would be legal XPath as written if you use and instead of AND and or
instead of OR and and not( ) instead of ANDNOT.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list