2.71 .data

This attribute returns or sets data of a DOM node. The attribute is only available when the node type is either nodetype_cdata_section or nodetype_processing_instruction.

Definition

  • Data type

    string, object [ text ]

  • Access

    get, set

  • changed event

    no

The attribute is available for the XML Cursor, but it is not passed down. Please note that an XML Cursor, whose attribute .mapped possesses the value false, will automatically be positioned to the root of the DOM Document.