| 1. |
Using E4x How Can We Make Xml Easier To Use? |
|
Answer» E4X makes easier to use JAVASCRIPT to parse 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 existance 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. E4X makes easier to use JavaScript to parse 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 existance 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. |
|