Loading TOC...

Attr.isId

Attr.isId as Boolean

Summary

Whether this is an ID attribute.

Usage Notes

An ID attribute is defined as one that has a schema declaration of type 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.

Example

cts.doc("example.xml").getElementById("ex1").
  getAttribute("ID").isID

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy