Message Text
Invalid format (must be "xml", "text", or "binary"): variable1
Cause
Occurs when parsing a document and specifying the document format. The format must be one of "xml", "text", or "binary".
Response
Use a valid document format string, "xml", "text", or "binary".
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.