locked
Merging two Windows.Data.Xml.Dom.XmlDocument objects in one - issue RRS feed

  • Question

  • I am trying to merge two Windows.Data.Xml.Dom.XmlDocument objects into a single one, ie. i want to add all elements of 2nd object to the beginning of the 1st one.

    To accomplish this I am using something like:

    obj1.insertBefore(obj2Items[i], obj1Items[0]);

    but I get "JavaScript runtime error: Validate failed because the node provided does not belong to this document."

    Any ideas on this?

    Thanx in advance

    Monday, July 9, 2012 3:29 PM

Answers

All replies