- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 04:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 05:40 AM
getXMLAnswer() saves you a line of code every time you use it. That is it. There shouldn't be any noticeable difference in speed, though this method is probably guaranteed to be slightly slower as it runs at least one more line of code each time. So ease of use vs minuscule difference in speed.
with getXMLAnswer() uou no longer need this line of code.
var comments = response.responseXML.documentElement.getAttribute("answer");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 04:40 AM
Hi,
getXML() is the best to use.
Thanks,
Snehal.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 05:17 AM
getXML() is best to use if you want fast performance.
Please mark it helpful.
Thanks
Rajneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 05:40 AM
getXMLAnswer() saves you a line of code every time you use it. That is it. There shouldn't be any noticeable difference in speed, though this method is probably guaranteed to be slightly slower as it runs at least one more line of code each time. So ease of use vs minuscule difference in speed.
with getXMLAnswer() uou no longer need this line of code.
var comments = response.responseXML.documentElement.getAttribute("answer");