Re: [xsl] template which handles identical XML-structures but can insert unique label texts

Subject: Re: [xsl] template which handles identical XML-structures but can insert unique label texts
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 26 Oct 2006 20:29:42 +0100
something like , assuming the parent of the fragment you posted is
Manure,

<xsl:template match="Manure>
<table>
<xsl:apply-templates/>
</table>
</xsl:template>

<xsl:template match="Manure/*">
<tr>
<td>
<xsl:value-of select="name()"/>
</td>
<xsl:apply-templates/>
</tr>
</xsl:template>

<xsl:template match="Manure/*/*">
<td>
<xsl:apply-templates/>
</td>
</xsl:template>

David

Current Thread