Added Compatibility with LibreOffice 4.x
Added Check if input document is flat xml document. Fixes transforming documents converted to odt via command line soffice util