|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How can one get the name of a template or function
David Carlisle wrote:
> <xsl:template match="*:template[@name]">
> <xsl:copy>
> <xsl:copy-of select="@*"/>
> <xsl:element name="xsl:variable">
> [...]
Of course, you have to copy parameters first:
<xsl:template match="*:template[@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 !
Ricupirez votre historique sur Yahoo! Mail !
http://fr.docs.yahoo.com/mail/transfert_mails.html
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








