- odf2xml [-e] [-o outputfile] [inputfile]
"Inputfile" is assumed to be an OpenDocument file. If there is no inputfile, the program will read from standard input.
- Normally, images that are stored in the archive in the Pictures folder are ignored. Using the -e flag will embed the images in the XML as base64.
- If output file is not specified output will be to standard out.
odf2xml -o file.xml testdocument.odt
Doesn't handle external data -- images and such.
- Original author