1.

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 documentThe question was asked in unit test.The origin of the question is Parsing Values using JavaScript in chapter Parsing, Benchmarking and Logging of JavaScript

Answer»

The correct choice is (a) Converts XML DOCUMENT to XML DOM OBJECT

To elaborate: 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.



Discussion

No Comment Found

Related InterviewSolutions