W3C XQuery Standard Equivalent: err:XQTY0024
W3C XSLT Standard Equivalent: err:XTDE0410
Message Text
Attribute node cannot follow non-attribute node in element content
Cause
Attribute constructors must appear before any elements or character data in an element constructor.
Response
Correct your code by moving the attribute constructor before any elements or character data in the parent element constructor.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.