xsl-list
[Top] [All Lists]

Re: Variable for an Elementname

2005-10-14 06:59:26
Hi Houman,

        <xsl:element name="$numberinfo">

You've missed out the {}s that tell the XSLT processor to evaluate the
variable reference (so it's trying to use the string '$numberinfo' as
an element name). You need:

  <xsl:element name="{$numberinfo}">

(I make this mistake all the time.)

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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