The cts reference cannot be used in this context: variable1
A cts reference was passed to a function that cannot use it.
Use the correct cts reference constructor.
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.