| TXmlNode() > Instance variables |
![]() |
![]() |
![]() |
Contains the type number of an XML node.
| Data type: | N | Default: | HBXML_TYPE_TAG |
The type of an XML node is encoded as a numeric value and stored in :nType. #define constants listed in Hbxml.ch are used for this instance variable
XML node types
| Constant | Value | Description |
|---|---|---|
| HBXML_TYPE_TAG | 0 | Regular XML node |
| HBXML_TYPE_COMMENT | 1 | XML comment |
| HBXML_TYPE_PI | 2 | Processing instruction |
| HBXML_TYPE_DIRECTIVE | 3 | XML directive |
| HBXML_TYPE_DATA | 4 | Parsed data section |
| HBXML_TYPE_CDATA | 5 | Unparsed data section |
| HBXML_TYPE_DOCUMENT | 6 | Document node |
http://www.xHarbour.com