Jump to content

Fetch records from XML using Javascript


gauravgr8

Recommended Posts

I don't think Firefox supports that currently (the XML element on a page). You might look into using AJAX and its responseXML property. Or, you might look into using W3Schools loadXML function described here: http://www.w3schools.com/dom/dom_parser.aspBoth methods would fetch the data from an external XML file and then, using a combination of the HTML DOM and the XML DOM, you could parse that data to find the value you're looking for.HTML DOM Tutorial: http://www.w3schools.com/htmldom/default.aspXML DOM Tutorial: http://www.w3schools.com/dom/default.asp

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...