By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,709 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

reading an xml file

P: 20
how to load an XML file using JS and display all the data in the XML file to the HTML DOM elements
Nov 20 '09 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
use the XMLHttpRequest object to fetch the file. then you have the XML parsed and ready to use in the responseXML property.

well, this is up to you, but as long as you use DOM, there should be no problems.
Nov 20 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.