MarkLogic 9 Product Documentation
Document.documentFormatDocument.documentFormat as String
Summary
The format of the document node, "JSON", "XML", "TEXT", or "BINARY"
Example
cts.doc('example.xml').documentFormat;
// Returns: 'XML'
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.