This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Nodes between two nodes with same name
- To: <xsl-list at mulberrytech dot com>
- Subject: Nodes between two nodes with same name
- From: "Jonas" <bob at centras dot lt>
- Date: Fri, 18 Aug 2000 13:54:29 +0200
- Reply-To: xsl-list at mulberrytech dot com
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