Hi!
I wanted to do something like the following. Construct an xml element
and assign it to a variable. I am trying to do so by concatenating some
xml together as a string and assign it to a variable and have it
converted to the type of the variable. Is there a way to do this or do
you have to assign an element to the variable and then fill in the
parts?
-Doug.
<variable name="info-var" element="test:info"/>
...
<assign><copy>
<from>concat('<info xmlns="http://test">',
'<id>', $id, '</id>',
'<cid>', $cid, '</cid>',
'<rid>', $id, '</rid>',
'<message>', 'some text', '</message>',
'<user>', $user, '</user>',
'</info>')</from>
<to variable="info-var"/>
</copy></assign>