Attr.isSpecified() as Boolean
Whether this attribute is specified explicitly or was defaulted from a schema.
cts.doc("example.xml").getElementById("ex1"). getAttributeNS("http://www.w3.org/XML/1998/namespace","lang").isSpecified
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.