[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote:
Would that be :<xsl:template match="root"> <root> <xsl:copy-of select="A[position()!=last()]|B[following-sibling::A]"/> </root> </xsl:template> |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
|

Cart



