Found a better (more elegant) way of suppressing our own tags.

svn path=/trunk/; revision=4657
This commit is contained in:
2004-11-02 21:55:43 +00:00
parent a2eb2e1493
commit 6d5df1ee03
3 changed files with 8 additions and 20 deletions

View File

@@ -16,14 +16,12 @@
<xsl:for-each select="/html/set/associate">
<xsl:sort select="@id" />
<h3><a href="{link}"><xsl:value-of select="name" /></a></h3>
<xsl:apply-templates select="description" />
<xsl:apply-templates select="description/node()" />
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template match="description"><xsl:apply-templates /></xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>