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
Here's a browser-based example, but this should be applicable to other JavaScript contexts:
Make a Form:
Gimme Yo ODF Cornbread
Handle the Upload: (I'm using JQuery for brevity/simplicity)
The xmldata variable contains your XML, ready for your magic.
xmldata