Re: [xsl] Need to output an opening or closing tag by itself

Subject: Re: [xsl] Need to output an opening or closing tag by itself
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 25 Jun 2008 13:19:00 +0200
Pankaj Chaturvedi wrote:

<xsl:template match="email[@url]">
		<xsl:copy>
			<xsl:copy-of select="@*"/>

You need to move the closing </xsl:copy> here to ensure the copied 'email' element is empty.




--


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

Current Thread