[xsl] how to select nodes between nodes

Subject: [xsl] how to select nodes between nodes
From: "Mario Michlits" <mario.michlits@xxxxxxxx>
Date: Fri, 11 Jan 2002 13:07:40 +0100
Hi
I use an xsl:for-each that selects <comma> Elements within 
a certain context. In this xsl:for-each I want to copy all 
elements that come between this <comma> Element and the 
next <comma> Element and so on.

My stylesheet looks like this:

<xsl:for-each select="comma">
<xsl:copy-of select="select all nodes between this comma 
and the next comma"/>
</xsl:for-each>

I havent found an appropriate XPath expression to solve 
this problem. Any help is appreciated.
Mario


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


Current Thread