79813104

Date: 2025-11-08 10:11:49
Score: 0.5
Natty:
Report link

Use getElementsByTagNameNS(). Once you subscript the element you need, you can access its content with .textContent.

var d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
var items = xmlStr.getElementsByTagName(d, "Attachment");
var attachment = items[0].textContent;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user31571297