View Single Post
  #3 (permalink)  
Old September 4th, 2006, 08:55 AM
lexzeus lexzeus is offline
Registered User
Join Date: Sep 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

<xsl:template match="aName">
    <xsl:element name="differentName">
        <xsl:copy-of select='./@*'/>
        <xsl:copy-of select='./*'/>

This will define new name but retain the attributes and children..
Other way more straight forward than this, anyone?

Reply With Quote