05-27-2011 02:17 PM
I'm developing a WebWorks app for PlayBook.
I have some XML files with some data. I need to read this data using jQuery (or JavaScript).
How can I do that? How can I read a XML file?
I've found some examples that uses AJAX to read file, but I don't think this is the right way.
05-27-2011 05:16 PM
You should be able to simply do a local AJAX call to the file and then use the responseXML property of the XMLHttpRequest object.
To get to local resources you can use local:///myfile.xml