Nodes between two nodes with same name

Subject: Nodes between two nodes with same name
From: "Jonas" <bob@xxxxxxxxxx>
Date: Fri, 18 Aug 2000 13:54:29 +0200
Hi,

I am trying to select all nodes between two 
nodes with the same name from such xml:

<body>
<tag>...</tag>
<any1> ...</any1> <any2> ...</any2> <any1> ...</any1>  ....
<tag>...</tag>
<any1> ...</any1> <any2> ...</any2> <any1> ...</any1> ....
<tag>...</tag>
<any1> ...</any1> <any2> ...</any2> <any1> ...</any1> ....
.....
</body>

What I need is to select nodesets including nodes <tag> and
all other till next <tag> node.
How can this be done?
I was trying  to select all <tag> and then find
thier position in <body> context, but can get that position.
If that could be the right way, how can this position be found?


Thanks for any help,
Jonas.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread