Loading TOC...

Attr.isSpecified

Attr.isSpecified() as Boolean

Summary

Whether this attribute is specified explicitly or was defaulted from a schema.

Example

cts.doc("example.xml").getElementById("ex1").
  getAttributeNS("http://www.w3.org/XML/1998/namespace","lang").isSpecified

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.