Document.documentFormat as String
The format of the document node, "JSON", "XML", "TEXT", or "BINARY"
cts.doc('example.xml').documentFormat; // Returns: 'XML'