Attr.isId as Boolean
Whether this is an ID attribute.
xs:ID
(or a subtype of xs:ID
). The function
fn.id takes a
broader view: any attribute named xml:ID
is considered an ID
attribute.
cts.doc("example.xml").getElementById("ex1"). getAttribute("ID").isID
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.