[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: copying problem
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|