This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
how to select nodes between nodes
- From: "Mario Michlits" <mario dot michlits at hico dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 11 Jan 2002 13:07:40 +0100
- Subject: [xsl] how to select nodes between nodes
- Reply-to: xsl-list at lists dot mulberrytech dot com
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