Re: [xsl] copying problem

Subject: Re: [xsl] copying problem
From: Brian Chrisman <brian.chrisman@xxxxxx>
Date: Mon, 15 Mar 2004 08:55:19 +0100
David Carlisle wrote:

<xsl:template match="root">
<root>
<xsl:copy-of select="A[position()!=last()]|B[following-sibling::A]"/>
</root>
</xsl:template>




Would that be :
|B[count(following-sibling::A) = 1]
cuz the following-sibling identifies all B nodes which have A nodes coming after them in the list? Which would be all of them?


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


Current Thread