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]
Other format: [Raw text]

how to select nodes between nodes


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


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