xsl-list
[Top] [All Lists]

RE: copying problem

2004-03-14 13:27:51
-----Original Message-----
From: poppe chris

Thnx for the reply,


Well, if I interpret your wanted output correctly, the supplied solution
will not be complete (maybe intended?)

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

Just in case ...


Cheers,

Andreas


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



<Prev in Thread] Current Thread [Next in Thread>