Re: [xml] xpath query
- From: Igor Zlatkovic <igor zlatkovic com>
- To: Sir Pendenaor <pendenaor hotmail com>
- Cc: xml gnome org
- Subject: Re: [xml] xpath query
- Date: Mon, 28 Jun 2004 18:14:52 +0200
On 28.06.2004 17:22, Sir Pendenaor wrote:
Hello everyone,
I need some help to make an XPATH query which
retrieves all nodes between two.
Example:
...
<Mark type='start'/>
<toto>
<tata>...</tata>
</toto>
...
<tutu/>
<Mark type='end'/>
...
How i query for all nodes between two TAG <mark> ?
or is it impossible :( ?
Thanks...
Off-topic it is, but here it goes:
//*[ancestor-or-self::*[
preceding-sibling::Mark[ type="start"] and
following-sibling::Mark[ type="end"]]]
Ciao,
Igor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]