xsl-list
[Top] [All Lists]

Re: PB using the name attribute of xsl:element

2005-09-30 06:10:23

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="{(_at_)name}" you never need to start an XPath
with ./.

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--