Using E4X how can we make XML easier to use?

Submitted by: Administrator
E4X makes easier to use JavaScript to pasre and manipulate XML.This is also use to enable XML library or component to act with XML.On different browsers libraries and components perform with different syntax and work differently. I have given you example where I show how to load an existence XML document("message.xml")into XML parser and to show note from message.Example: Without use of E4X.var xmlDoc//This code is made only for Internet Explorer.if (window.ActiveXObject){xmlDoc = new ActiveXObject("Microsoft.XMLDOM")xmlDoc.async=false;xmlDoc.load("message.xml")displaymessage()}// This code is made for Mozilla, Firefox etc.else (document.implementation
Submitted by: Administrator

Read Online E4X Job Interview Questions And Answers