piNodeType - BaseXmlDomNode

The type of the node

Type: Property

Access: Read-Only

Data Type: Integer

Parameters: None

Syntax
 Property Integer piNodeType

Read Access: Get piNodeType to IntegerVariable


Description

piNodeType is the type of the node (for example, Attribute, Notation, Text, Comment, etc.) The following table is a list of all node types supported:

Node Name ConstantNumber ConstantNode Type
NODE_ELEMENT1Element Node
NODE_ATTRIBUTE2Attribute node
NODE_TEXT3Text node
NODE_CDATA_SECTION4CDATA Section node
NODE_ENTITY_REFERENCE5Entity Reference Node
NODE_ENTITY6Entity node
NODE_PROCESSING_INSTRUCTION7Processing Instruction node
NODE_COMMENT8Comment node
NODE_DOCUMENT9Document node
NODE_DOCUMENT_TYPE10Document Type (DTD) node
NODE_DOCUMENT_FRAGMENT11Document Fragment node
NODE_NOTATION12Notation node


Example

Get piNodeType Of hoNode To iType
Showln  "The type of the node is " iType