1.

Which method to use while working with XML fragments, instead of XML()?(a) XMLInterface()(b) XMLClass()(c) XMLList()(d) XMLArray()I got this question at a job interview.My doubt is from Shorthand functions and Multiple catch clauses in portion Classes and Modules in JavaScript of JavaScript

Answer»

The correct answer is (C) XMLLIST()

For EXPLANATION: An XML fragment is an XML DOCUMENT with no single top-level root ELEMENT. When working with XML fragments, use XMLList() instead of XML().



Discussion

No Comment Found

Related InterviewSolutions