The responseText property cannot be used to parse through XML data. We are going to look at how we can use the responseXML property in more detail.

HTML Example

Syntax

responseXML Property

If the response from the web server is XML, you will need to parse it as an XML object. Use the responseXML property. XML File Conents