Re: [xsl] Keeping current attributes while adding attributes and content from another element

Subject: Re: [xsl] Keeping current attributes while adding attributes and content from another element
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Date: Wed, 2 Sep 2009 14:07:14 -0700
Perfect.
Thanks, I could not see it.
Mark

--------------------------------------------------
From: "David Carlisle" <davidc@xxxxxxxxx>
Sent: Wednesday, September 02, 2009 1:30 PM
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [xsl] Keeping current attributes while adding attributes and content from another element



<xsl:template match="Heading"> <xsl:copy> <xsl:copy-of select="@*|../SubDiv1/@*"/> </xsl:copy> </xsl:template>

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________

Current Thread