Loading TOC...

Document.documentFormat

Document.documentFormat as String

Summary

The format of the document node, "JSON", "XML", "TEXT", or "BINARY"

Example

cts.doc('example.xml').documentFormat;

// Returns: 'XML'

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.