xsl-list
[Top] [All Lists]

Variable for an Elementname

2005-10-14 06:56:51
Hello,

I got this problem here. I use a template and pass a parameter. This
parameter shall be part of an element name. However it says the element
name has to be a QName.  


<xsl:template name="NumberInformationTemplate">
        <xsl:param name="ninfo"/>

        <xsl:variable name="numberinfo"
select="concat($ninfo,'NumberInformation')"/>

        <xsl:element name="$numberinfo">
        ....


I don't see why this is not working...

Any comments?
Thanks
Houman

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



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