W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 2003

on zero or any repeat

From: 高军 <gaojun@rdb01.pku.edu.cn>
Date: Fri, 29 Aug 2003 17:30:7 +0800
To: www-xpath-comments@w3.org <www-xpath-comments@w3.org>
Message-Id: <200308291705531.SM01228@gaojun1628>

Dear all:
   I have one question on XPath specification.
   In Xpath, the operater * denotes the wildcards of XML and // denotes the ansester-
descendent relationship of XML element. So I wonder why XPath could not support the 
zero or any repeat of sub xpath, such as /(a/b)*/c, which means we can pass /(a/b)/c
or /a/b/a/b/c ... in XML data document. I know such expression could be replaced by
//a/b/c, but the former expression seems be evaluated efficiently.
   I know such expression can not supported in the current version of XPath. I only want 
to know why such an important feature can not support in XPath, and whether it maybe supported in the future version.
   Best regards
   Thanks
Josh
Received on Friday, 29 August 2003 05:30:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:55 GMT