Subject: AW: Beginner's question
From: "Michael Schafer" <MSchaefer@xxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 12:37:33 +0200
|
Hello Chris,
try this:
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*" />
</xsl:copy>
</xsl:match>
<xsl:template match="code">
</xsl:template>
-----Ursprungliche Nachricht-----
Von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]Im Auftrag von J S
Publications
Gesendet: Donnerstag, 12. Juli 2001 10:25
An: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Beginner's question
Hi
Here is a simple question from an absolute beginner!
Suppose I have an XML document with a complex DTD. The DTD contains a
tag
deep in the hierarchy called <code>. How would I transform the XML doc
to
another XML doc that was identical except for having the <code> tag
removed?
I said it was a simple question!
Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|