Terence Kearns wrote:
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})}
You don't need to nest anything.
value="normalize-space(*[name()=$main])"
Mike
--
Mike J. Brown | http://skew.org/~mike/resume/
Denver, CO, USA | http://skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list