This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: Beginner's question


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@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]Im Auftrag von J S
Publications
Gesendet: Donnerstag, 12. Juli 2001 10:25
An: XSL-List@lists.mulberrytech.com
Betreff: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]