RE: [xsl] How to get preceding-siblings that appear before a certain text

Subject: RE: [xsl] How to get preceding-siblings that appear before a certain text
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 13:17:37 +0100
> But what i'm getting, because of the
> following-sibling::xref, all of the xref and not the
> xref that that appear before the next text() node. Is
> there a way to achieve this?
> 

In 2.0 you can do

<xsl:variable name="next-text-node" select="...."/>
<xsl:for-each select="following-sibling::xref[. << $next-text-node]">

Michael Kay
http://www.saxonica.com/

Current Thread