xsl-list
[Top] [All Lists]

RE: Name of an element

2003-09-23 05:17:26
Hi Ricardo,

Is this what you mean? cos maybe its just your syntax that's incorrect (need
to watch those angle brackets)


<xsl:element>
        <xsl:attribute name="name">
                <xsl:value-of select="@..."/>
        </xsl:attribute>
</xsl:element>

Rgds.

Eddy

-----Original Message-----
From: Ricardo Saraiva [mailto:rss(_at_)dee(_dot_)fct(_dot_)unl(_dot_)pt] 
Sent: 23 September 2003 11:47
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Name of an element


I want to make an xsl:element tag but I only know its name by the input xml
file.

I've tried :

<xsl:element>
<xsl:attribute name="name"> xsl:value-of select "@...".

But it doesn't works!

How do I do this?

Thanks



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>