Found a better (more elegant) way of suppressing our own tags.
svn path=/trunk/; revision=4657
This commit is contained in:
@@ -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()"/>
|
||||
|
Reference in New Issue
Block a user