[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Output input_xml apart from one tag change?


Subject: Re: [xsl] Output input_xml apart from one tag change?
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 02 Oct 2007 15:37:07 +0200

John Smith wrote:
That works perfectly, thanks. But what actually happens here:

<xsl:copy><xsl:copy-of select="@*"/><xsl:apply-templates/></xsl:copy>

xsl:copy copies the current node. xsl:copy-of select="@*" copies any attribute nodes. xsl:apply-templates processes all child nodes.


--

	Martin Honnen
	http://JavaScript.FAQTs.com/


Current Thread