Re: [xsl] PB using the name attribute of xsl:element

Subject: Re: [xsl] PB using the name attribute of xsl:element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Sep 2005 14:10:23 +0100
> I do not manage to use the element <xsl:element> as I wish it. 

you need to say what did happen: did you get an error message (if so,
what) or the wrong element name.

  I am using it like that :

  < xsl:element name="{./@name}">... </xsl:element>

That should work assuming you didn't have a space between < and
xsl:element, and assuming the current node does have a name attribute.
You could write it as name="{@name}" you never need to start an XPath
with ./.


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread