Sablotron Extensions API Reference

Node Objects

Description

The Node object has the following properties:
Node.nodeName
Node.nodeValue
Node.nodeType
Node.parentNode
Node.childNodes
Node.firstChild
Node.lastChild
Node.previousSibling
Node.nextSibling
Node.attributes
Node.ownerDocument
Node.namespaceURI
Node.prefix
Node.localName

The Node object has the following methods:
Node.hasChildNodes()
Node.isSupported()
Node.hasAttributes()

The Node class has the following constants:

Node.ELEMENT_NODE, type Number, value 1.
Node.ATTRIBUTE_NODE, type Number, value 2.
Node.TEXT_NODE, type Number, value 3.
Node.CDATA_SECTION_NODE, type Number, value 4.
Node.ENTITY_REFERENCE_NODE, type Number, value 5.
Node.ENTITY_NODE, type Number, value 6.
Node.PROCESSING_INSTRUCTION_NODE, type Number, value 7.
Node.COMMENT_NODE, type Number, value 8.
Node.DOCUMENT_NODE, type Number, value 9.
Node.DOCUMENT_TYPE_NODE, type Number, value 10.
Node.DOCUMENT_FRAGMENT_NODE, type Number, value 11.
Node.NOTATION_NODE, type Number, value 12.

See Also

Groups [ Objects ]
Entries [ Node.attributes | Node.childNodes | Node.firstChild | Node.hasAttributes() | Node.hasChildNodes() | Node.isSupported() | Node.lastChild | Node.localName | Node.namespaceURI | Node.nextSibling | Node.nodeName | Node.nodeType | Node.nodeValue | Node.ownerDocument | Node.parentNode | Node.prefix | Node.previousSibling ]

© 2001 Ginger Alliance
revision 01-12-14
This page was generated by APIDOC