Hi , I am trying to parse an XML file and display the contents in an HTML Table.
I've been able to parse the contents and display the data ( as i want) using Javascript but i'm facing a problem.
This only works if the XML file is local.
I want to parse a XML file stored on a website like http://www.test.com/file.xml
Can i do this using Javascript ( if not what do i use to parse the data) ?
xmlDoc.load('ClassVisit.xml'); // Works
xmlDoc.load('http://www.website.com/ClassVisit.xml');
//Doesnt Work
Please let me know.
Thanks.
I've been able to parse the contents and display the data ( as i want) using Javascript but i'm facing a problem.
This only works if the XML file is local.
I want to parse a XML file stored on a website like http://www.test.com/file.xml
Can i do this using Javascript ( if not what do i use to parse the data) ?
xmlDoc.load('ClassVisit.xml'); // Works
xmlDoc.load('http://www.website.com/ClassVisit.xml');
//Doesnt Work
Please let me know.
Thanks.