[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xml nodes with same name
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.