Subject: RE: PB using the name attribute of xsl:element
From: "a.tom" <a.tom@xxxxxxxx>
Date: Fri, 30 Sep 2005 16:50:52 +0200 (CEST)
|
> 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.
|