[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPath question
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
|
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
|