Perhaps you want
<xsl:element name="{./@class}">... </xsl:element>
Apart from that it looks OK (unless namespaces are involved).
Of course ./@class can be simplified to @class
Thank you for your help.
Yes, it was a mistake in my message not in my code.
Indeed my problem come from the use of namespace, since I use inner XML data in
my stylesheet: <xsl:foreach select="document('')/...">.
Is this feasible despite this point ?
Fred.
--~------------------------------------------------------------------
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>
--~--