What is the function of the XML parser?
A
Converts XML document to XML DOM object
B
Converts XML DOM object to XML document
C
Converts XML DOM object to a comment
D
Compiles the html document
Correct Answer: Converts XML document to XML DOM object
An XML parser converts an XML document into an XML DOM object – which can then be manipulated with JavaScript. All major browsers have a built-in XML parser to access and manipulate XML.