xsl-list
[Top] [All Lists]

Re: is there an equivilent to eval() ?

2003-02-11 17:56:56
On Wed, 12 Feb 2003 11:45:40 +1100, "Terence Kearns"
<tk(_dot_)lists(_at_)fastmail(_dot_)fm> said:
Maybe it's not quite the same thing as eval(), but I got around the
problem with *[name()=$main]


<input class="formItem" 
    type="text" name="{$main}" 
    value="{normalize-space(*[name()=$main])}" />

would be nice if nested braces worked :)

so I could have
{normalize-space({$main})}

that would be a real equivilent of eval() ...oh well, can't win them
all...

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



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