I need to get XML from a ODF file. I tried using FileReader readAsText and readAsBinaryString but its not working.
FileReader readAsText returns some s
Using the response like text:
var xml = data.replace(/[\s\S]+<\?xml/, '[\s\S]+/, 'office:document-meta>');
:)
If you need to load the xml like jquery object:
xml = $(xml);
then you can use jquery selector's on