MSXML

Microsoft XML Core Services (MSXML) is a collection of services that allow JScript applications, VBScript applications, and Microsoft development tools to create XML applications on Windows. DOM, SAX, XSLT, XSD, and more are supported.

MSXML ships as a COM component bundled with Windows and is accessed through ProgIDs such as MSXML2.DOMDocument.6.0, the current, recommended version; earlier versions such as MSXML 3.0 and 4.0 are legacy and no longer recommended for new development. Because it is COM-based, MSXML can be used from VBScript, JScript, VBA, classic ASP, and C++ (via COM), in addition to Microsoft's own development tools. It provides a DOM implementation, SAX2-compatible interfaces (IVBSAXXMLReader / ISAXXMLReader), an XSLT processor, and DTD/XSD-based validation.

Full nameMicrosoft XML Core Services
DistributionCOM component bundled with Windows
Accessible fromVBScript, JScript, VBA, classic ASP, C++ (COM)
Current versionMSXML 6.0 (ProgID MSXML2.DOMDocument.6.0); earlier versions (3.0, 4.0) are legacy
SupportsDOM, SAX, XSLT, XSD validation

var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.6.0");
xmlDoc.async = false;
xmlDoc.load("books.xml");

var books = xmlDoc.getElementsByTagName("book");
for (var i = 0; i < books.length; i++) {
    WScript.Echo("Book id: " + books[i].getAttribute("id"));
}