XMLDocument(string) vs XMLDocument2()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2017 02:30 PM
How are the above functions different? When should we use each of them?
Thanks
Divya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2017 02:34 PM
Hi Divya,
The XMLDocument Script Object is a JavaScript Object wrapper for parsing and extracting XML data from an XML document (String).
and, XMLDocument2()
Instantiates an XMLDocument object.
Parameters:
- None
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2017 03:16 PM
Please let us know if you are looking for any specific scenario?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2018 02:12 PM
One difference is XMLDocument2 is designed to work with scoped apps, as XMLDocument is not.