Functoid/mapping question
Hello All!
I'm new to BizTalk (and these forums) and am wondering if anyone can help out. I am trying to map an entire XML document (by first converting it to a string) to an attribute in an SQL updategram. I tried using a Mass Copy functoid however it will not allow output to an attribute (not sure it would convert it properly anyway). With the Scripting functoid, I do not seem to have access to the XMLDOM which prohibits me from traversing the nodes and forming my output dynamically.
Can anyone suggest a method I might use that would be resuable?
Example XML (input):
<?xml version="1.0" encoding="us-ascii"?><Events><Event Type="active"><User>1</User></Event></Events>
Example XML (desired output):
<DBInsert><sync><after>
<myTable myField="<?xml version="1.0" encoding="us-ascii"?><Events><Event Type="active"><User>1</User></Event></Events>" />
</after></sync></DBInsert>
Thanks in advance!
Jim

