|
Subject: Re: [xsl] xpath - how to return all nodes but the node matching a value in an arbitrary tree? From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Sat, 04 May 2002 19:45:03 +0200 |
<xsl:param name="delete_id"/> <xsl:template match="/"> <xsl:copy-of select="//category//artist[@id!=$delete_id]"/> </xsl:template>
<xsl:template match="*|text()|@*">
<xsl:copy>
<xsl:apply-templates select="*[@id != $delete_id]|text()|@*"/>
</xsl:copy>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] xpath - how to return all, Robert Koberg | Thread | Re: [xsl] xpath - how to return all, Robert Koberg |
| Re: [xsl] xpath - how to return all, Robert Koberg | Date | [xsl] Sorting XML with XSL, output , Ernst Wolthaus |
| Month |