isFlatOdfXml

fnbool isFlatOdfXml(const(ubyte)[] xmlBytes)

Detects whether XML content represents a flat ODF document.

Flat ODF documents have office:document as the root element, as opposed to packaged variants which use office:document-content, office:document-styles, etc.

Parameters

xmlBytesRaw XML bytes.

Returns

true if the root element is office:document.