Sorry, I changed my example in mid-stream and messed it up a bit.
I wrote -
You could write something like
var xml_string = element('measure',
element(name,'Form Element 1'),
'this is a sample form element')
xml_string = element('root',xml_string)
but meant this -
var xml_string = element('measure',
element(name,'Form Element 1'))
xml_string = element('root',xml_string)
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list