Loading TOC...
Matches for cat:function (cat:function/javascript (cat:function (cat:function))) have been highlighted. remove

MarkLogic 12 Product Documentation
CharacterData.attributes

CharacterData.attributes as NamedNodeMap

Summary

This is inherited from the XMLNode object.

The attributes of this node.

Usage Notes

Returns null for non-element nodes.

Example

cts.doc("example.xml").documentElement.
  attributes.getNamedItem("class")

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