xsl-list
[Top] [All Lists]

[xsl] Renaming an element when using copy-of

2006-06-13 12:02:02
I am trying to copy the contents of an element called <source> using a template but I want to change it's name when doing so. This <source> element contains several children that I want to carry over but I also want to rename them as well. I'm currently using:

<xsl:copy-of select="source"/>

This works but I want to change the name of source. How do I do this?



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>