Hi All,
I have an xml document received from a webservice as a string. I then have a method which makes string to an xml dom document. The structure is as follows:
Now, i would like to wrap the node <Download></Download> within another Node..eg:
How can i do this using the Dom XMl utilities?
Thanks
Nick
I have an xml document received from a webservice as a string. I then have a method which makes string to an xml dom document. The structure is as follows:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<Download ...>
<element1>XXX</element1>
<element2>YYY</element2>
</Download>
Now, i would like to wrap the node <Download></Download> within another Node..eg:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<DownloadArray ...>
<Download>
<element1>XXX</element1>
<element2>YYY</element2>
</Download>
</DownloadArray>
How can i do this using the Dom XMl utilities?
Thanks
Nick