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

XPath and Ranges

From: David White <davidw@kencook.com>
Date: Wed, 2 Aug 2006 10:32:00 -0500
To: <www-xpath-comments@w3.org>
Message-ID: <000c01c6b648$cc5e23e0$5901a8c0@domain.kencook.com>

Hello All,

Is it possible to use Xpath to select a range of nodes.

<chapter>
<title>X</title>
<para>
<para>
<title>Y</title>
</chapter>

I would like an Xpath statement that would select //title[1] THROUGH //title[2] and include all nodes between.  Is this possible?

I'm currently using XMLSpy professional but not having much luck finding a solution.

Thanks,

David White
Received on Wednesday, 2 August 2006 15:31:52 GMT

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