Message Text
The enabled element can only be used in the top-level template. Child templates cannot be enabled/disabled separately, bad node: variable1
Cause
The enabled element can only be used in the top-level template. Child templates cannot be enabled/disabled separately.
Response
Move the enabled element to the top-level template.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.