Re: [xsl] Creating a new element and renaming (was issue 793)

Subject: Re: [xsl] Creating a new element and renaming (was issue 793)
From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx>
Date: Tue, 6 Jun 2006 12:49:22 -0400
Thanks David, that worked! One problem though. The attributes of that original <Story> element are not carried over during transformation. My XSLT at this point looks like this:

(Snippet)

<xsl:template match="Story">
	<D>
		<BB><TG>
			<xsl:apply-templates select="articleTitle|articleSubTitle"/>
		</TG>

That original <Story> element contains attributes that I need to preserve. Any ideas?

chad

On Jun 5, 2006, at 4:56 AM, David Carlisle wrote:

In the code that you posted the letters "xsl:copy" appear twice,
replace both instances of this with "D".

David

Current Thread