Link to home
Start Free TrialLog in
Avatar of xargon_123
xargon_123

asked on

XML help for MSXML2.DOMDocument

Hi everyone,

I need some help with MSXML2.DOMDocument object. I am using VBA and have the following scenario.

I have an XML structure as follows:

<SomeRootElement>
<Input>
</Input>
</SomeRootElement>

Then I have another XML structure as follows:
<Output>
<SomeElement>
</SomeElement>
</Output>

Now what I want to do is combine these XML structures, so I have:
<SomeRootElement>
<Input>
</Input>
<Output>
<SomeElement>
</SomeElement>
</Output>
</SomeRootElement>

basically, add the second XML structure as a child to the root element.

How can I do this using VBA?

Thanks!
Cheers!
xargon
ASKER CERTIFIED SOLUTION
Avatar of fds_fatboy
fds_fatboy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fds_fatboy
fds_fatboy

In an effort to improve the quality of my answers, please tell me what I would have had to have done to get an A grade?