Attribute with name variable1 already exists
An update operation such as xdmp:node-insert-child attempted to insert an attribute node for an attribute that already exists.
Correct your code. For example, use xdmp:node-replace instead of xdmp:node-insert-child.
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.