Hello, I am new to Java script and AJAX. I am getting a response of xml file (not xml tags or elements) and I have to parse that file and have to display using AJAX - UI. So, I need to parse that xml file (response) in java script. If any one can suggest me how to do it will be helpful.
It seems that you get the responseXML, which is a DOM object (Document), from the XmlHttpRequest, then call that object's methods (see the org.w3c.dom.Document API) such as getElementsByTagName(), etc. to parse the XML.
I hope this helps!
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database