Re: [xsl] is there an equivilent to eval() ?

Subject: Re: [xsl] is there an equivilent to eval() ?
From: "Terence Kearns" <tk.lists@xxxxxxxxxxx>
Date: Wed, 12 Feb 2003 11:56:56 +1100
On Wed, 12 Feb 2003 11:45:40 +1100, "Terence Kearns"
<tk.lists@xxxxxxxxxxx> 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


Current Thread