[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Printing ancestor elements of all element nodes
Subject: Re: [xsl] Printing ancestor elements of all element nodes From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 3 Aug 2005 12:16:36 +0100 |
<xsl:for-each select="//*"> <xsl:text> </xsl:text> <xsl:value-of select="name()"/> <xsl:text> - </xsl:text> <xsl:for-each select="ancestor::*"> <xsl:sort select="-count(ancestor::*)"/> <xsl:value-of select="name()"/> <xsl:if tets="position()!=last()">,</xsl:if> </xsl:for-each> </xsl:for-each> ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Printing ancestor elements of, Mukul Gandhi | Thread | Re: [xsl] Printing ancestor element, Mukul Gandhi |
Re: [xsl] assign page-number-citati, G. Ken Holman | Date | RE: [xsl] appending to result-docum, Michael Kay |
Month |