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
Default

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

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


Reply With Quote