David Carlisle wrote:
<xsl:template match="*:template[(_at_)name]">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:element name="xsl:variable">
[...]
Of course, you have to copy parameters first:
<xsl:template match="*:template[(_at_)name]">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:copy-of select="xsl:param"/>
<xsl:element name="xsl:variable">
[...]
<xsl:copy-of select="node() except xsl:param"/>
That could have an impact on indentation though.
Regards,
--
Florent Georges
http://www.fgeorges.org/
__________________________________________________________________________________________________
Ne pleurez pas si votre Webmail ferme ! Récupérez votre historique sur Yahoo!
Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html
--~------------------------------------------------------------------
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>
--~--