This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Nodes between two 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]