Node Data Type

Abstract Type
Subtypes
Document, DocumentType, Element
Properties
name data type constraints description
lastChild Node  
previousSibling Node  
textContent string  
nodeValue string  
attributes NamedNodeMap  
nextSibling Node  
prefix string  
namespaceURI string  
parentNode Node  
childNodes NodeList  
baseURI string  
nodeName string  
firstChild Node  
nodeType number required
ownerDocument Document  
localName string  

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "lastChild" : {
    "lastChild" : { },
    "previousSibling" : { },
    "textContent" : "...",
    "nodeValue" : "...",
    "attributes" : {
      "length" : 12345
    },
    "nextSibling" : { },
    "prefix" : "...",
    "namespaceURI" : "...",
    "parentNode" : { },
    "childNodes" : {
      "length" : 12345
    },
    "baseURI" : "...",
    "nodeName" : "...",
    "firstChild" : { },
    "nodeType" : 12345,
    "ownerDocument" : {
      "documentURI" : "...",
      "xmlVersion" : "...",
      "strictErrorChecking" : true,
      "xmlEncoding" : "...",
      "implementation" : { },
      "doctype" : { },
      "documentElement" : { },
      "domConfig" : { },
      "xmlStandalone" : true,
      "inputEncoding" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "localName" : "..."
  },
  "previousSibling" : {
    "lastChild" : { },
    "previousSibling" : { },
    "textContent" : "...",
    "nodeValue" : "...",
    "attributes" : {
      "length" : 12345
    },
    "nextSibling" : { },
    "prefix" : "...",
    "namespaceURI" : "...",
    "parentNode" : { },
    "childNodes" : {
      "length" : 12345
    },
    "baseURI" : "...",
    "nodeName" : "...",
    "firstChild" : { },
    "nodeType" : 12345,
    "ownerDocument" : {
      "documentURI" : "...",
      "xmlVersion" : "...",
      "strictErrorChecking" : true,
      "xmlEncoding" : "...",
      "implementation" : { },
      "doctype" : { },
      "documentElement" : { },
      "domConfig" : { },
      "xmlStandalone" : true,
      "inputEncoding" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "localName" : "..."
  },
  "textContent" : "...",
  "nodeValue" : "...",
  "attributes" : {
    "length" : 12345
  },
  "nextSibling" : {
    "lastChild" : { },
    "previousSibling" : { },
    "textContent" : "...",
    "nodeValue" : "...",
    "attributes" : {
      "length" : 12345
    },
    "nextSibling" : { },
    "prefix" : "...",
    "namespaceURI" : "...",
    "parentNode" : { },
    "childNodes" : {
      "length" : 12345
    },
    "baseURI" : "...",
    "nodeName" : "...",
    "firstChild" : { },
    "nodeType" : 12345,
    "ownerDocument" : {
      "documentURI" : "...",
      "xmlVersion" : "...",
      "strictErrorChecking" : true,
      "xmlEncoding" : "...",
      "implementation" : { },
      "doctype" : { },
      "documentElement" : { },
      "domConfig" : { },
      "xmlStandalone" : true,
      "inputEncoding" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "localName" : "..."
  },
  "prefix" : "...",
  "namespaceURI" : "...",
  "parentNode" : {
    "lastChild" : { },
    "previousSibling" : { },
    "textContent" : "...",
    "nodeValue" : "...",
    "attributes" : {
      "length" : 12345
    },
    "nextSibling" : { },
    "prefix" : "...",
    "namespaceURI" : "...",
    "parentNode" : { },
    "childNodes" : {
      "length" : 12345
    },
    "baseURI" : "...",
    "nodeName" : "...",
    "firstChild" : { },
    "nodeType" : 12345,
    "ownerDocument" : {
      "documentURI" : "...",
      "xmlVersion" : "...",
      "strictErrorChecking" : true,
      "xmlEncoding" : "...",
      "implementation" : { },
      "doctype" : { },
      "documentElement" : { },
      "domConfig" : { },
      "xmlStandalone" : true,
      "inputEncoding" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "localName" : "..."
  },
  "childNodes" : {
    "length" : 12345
  },
  "baseURI" : "...",
  "nodeName" : "...",
  "firstChild" : {
    "lastChild" : { },
    "previousSibling" : { },
    "textContent" : "...",
    "nodeValue" : "...",
    "attributes" : {
      "length" : 12345
    },
    "nextSibling" : { },
    "prefix" : "...",
    "namespaceURI" : "...",
    "parentNode" : { },
    "childNodes" : {
      "length" : 12345
    },
    "baseURI" : "...",
    "nodeName" : "...",
    "firstChild" : { },
    "nodeType" : 12345,
    "ownerDocument" : {
      "documentURI" : "...",
      "xmlVersion" : "...",
      "strictErrorChecking" : true,
      "xmlEncoding" : "...",
      "implementation" : { },
      "doctype" : { },
      "documentElement" : { },
      "domConfig" : { },
      "xmlStandalone" : true,
      "inputEncoding" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "localName" : "..."
  },
  "nodeType" : 12345,
  "ownerDocument" : {
    "documentURI" : "...",
    "xmlVersion" : "...",
    "strictErrorChecking" : true,
    "xmlEncoding" : "...",
    "implementation" : { },
    "doctype" : {
      "entities" : { },
      "notations" : { },
      "publicId" : "...",
      "systemId" : "...",
      "name" : "...",
      "internalSubset" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "documentElement" : {
      "schemaTypeInfo" : { },
      "tagName" : "...",
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "domConfig" : {
      "parameterNames" : { }
    },
    "xmlStandalone" : true,
    "inputEncoding" : "...",
    "lastChild" : {
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "previousSibling" : {
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "textContent" : "...",
    "nodeValue" : "...",
    "attributes" : {
      "length" : 12345
    },
    "nextSibling" : {
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "prefix" : "...",
    "namespaceURI" : "...",
    "parentNode" : {
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "childNodes" : {
      "length" : 12345
    },
    "baseURI" : "...",
    "nodeName" : "...",
    "firstChild" : {
      "lastChild" : { },
      "previousSibling" : { },
      "textContent" : "...",
      "nodeValue" : "...",
      "attributes" : { },
      "nextSibling" : { },
      "prefix" : "...",
      "namespaceURI" : "...",
      "parentNode" : { },
      "childNodes" : { },
      "baseURI" : "...",
      "nodeName" : "...",
      "firstChild" : { },
      "nodeType" : 12345,
      "ownerDocument" : { },
      "localName" : "..."
    },
    "nodeType" : 12345,
    "ownerDocument" : { },
    "localName" : "..."
  },
  "localName" : "..."
}