The XML node is an Element.An Element node can have the following child node types:Element, Text, Comment, ProcessingInstruction, CDATA, and EntityReference.It can be the child of the Document, DocumentFragment, EntityReference, and Element nodes
ntAttribute = 2
SB_ntAttribute = 2
The XML node is an Attribute.An Attribute node can have the following child node types:Text and EntityReference.The Attribute node does not appear as the child node of any other node type.It is not considered a child node of an Element
ntText = 3
SB_ntText = 3
The XML node is a Text (represents text content of the node).A Text node cannot have any child nodes.It can appear as the child node of the Attribute, DocumentFragment, Element, and EntityReference nodes
ntCDataSection = 4
SB_ntCDataSection = 4
The XML node is a CDATA.CDATA sections are used to escape blocks of text that would otherwise be recognized as markup.A CDATA node cannot have any child nodes.It can appear as the child of the DocumentFragment, EntityReference, and Element nodes
ntEntityReference = 5
SB_ntEntityReference = 5
A reference to an entity.An EntityReference node can have the following child node types:Element, ProcessingInstruction, Comment, Text, CDATA, and EntityReference.It can appear as the child of the Attribute, DocumentFragment, Element, and EntityReference nodes
ntEntity = 6
SB_ntEntity = 6
An entity declaration.An Entity node can have child nodes that represent the expanded entity(for example, Text and EntityReference nodes).It can appear as the child of the DocumentType node
ntProcessingInstruction = 7
SB_ntProcessingInstruction = 7
A processing instruction.A ProcessingInstruction node cannot have any child nodes.It can appear as the child of the Document, DocumentFragment, Element, and EntityReference nodes
ntComment = 8
SB_ntComment = 8
A comment.A Comment node cannot have any child nodes.It can appear as the child of the Document, DocumentFragment, Element, and EntityReference nodes
ntDocument = 9
SB_ntDocument = 9
A document object that, as the root of the document tree,provides access to the entire XML document.A Document node can have the following child node types:XmlDeclaration, Element (maximum of one), ProcessingInstruction, Comment, and DocumentType.It cannot appear as the child of any node types
ntDocumentType = 10
SB_ntDocumentType = 10
The document type declaration, indicated by the following tag.A DocumentType node can have the following child node types:Notation and Entity.It can appear as the child of the Document node
ntDocumentFragment = 11
SB_ntDocumentFragment = 11
A document fragment.The DocumentFragment node associates a node or subtree with a documentwithout actually being contained within the document.A DocumentFragment node can have the following child node types:Element, ProcessingInstruction, Comment, Text, CDATA, and EntityReference.It cannot appear as the child of any node types
ntNotation = 12
SB_ntNotation = 12
A notation in the document type declaration.A Notation node cannot have any child nodes.It can appear as the child of the DocumentType node
Description
Use this property to get the type of the XML DOM node.