This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XPath question
- From: "Wei-Chin Hsieh" <whsieh at cae dot wisc dot edu>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 11 Jun 2002 18:48:04 -0500
- Subject: [xsl] XPath question
- References: <5.1.0.14.0.20020611161612.01f24080@earthlink.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello,
I tried the following query and got results even the actual number of count
is 1. It seems that if either side of the expression is true, the whole
expression is true.
/someelement[2 < count(somechildelement) < 5]
But the following works correctly.
/someelement[count(somechildelement) > 2 and count(somechildelement) < 5]
My question is does XPath allow range search expression like the first case?
Thanks in advance.
Wei-Chin Hsieh
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list