Invalid lexical form for format attribute: variable1
Cause
The format attribute of result-document instruction cannot be converted to a valid QName. As a result, the output-definition for generating results cannot be retrieved.
Response
Use an output definition's valid name as a value of the "format" attribute in the xsl:result-document instruction.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.