The following constants are defined in the Qore namespace.
Table 4.990. XML Element Type Constants
Constant | Value | Description |
---|---|---|
|
| Indicates an element |
|
| Indicates an attribute |
|
| Indicates text |
|
| Indicates CDATA: unparsed character data |
|
| Indicates an entity reference |
|
| Indicates an entity |
|
| Indicates a processing instruction |
|
| Indicates a comment |
|
| Indicates a document |
|
| Indicates a document type |
|
| Indicates a document fragment |
|
| Indicates a DTD notation |
|
| Indicates an HTML document |
|
| Indicates a DTD |
|
| Indicates an element declaration |
|
| Indicates an attribute declaration |
|
| Indicates an entity declaration |
|
| Indicates a namespace declaration |
|
| Indicates an XML xinlude start element |
|
| Indicates an XML xinlude end element |
|
| Indicates a docbook document element |
The ElementTypeMap
constant in Xml namespace provides a mapping between element codes and the corresponding string code as defined in the following table.
Table 4.991. ElementTypeMap Constant Hash
Key | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 4.992. XML Node Type Constants
Constant | Value | Description |
---|---|---|
|
| Indicates no node is available |
|
| Indicates an XML element |
|
| Indicates an attribute node |
|
| Indicates a text node |
|
| Indicates a CDATA node: unparsed character data |
|
| Indicates an entity reference node |
|
| Indicates an entity node |
|
| Indicates an XML processing instruction |
|
| Indicates an XML comment |
|
| Indicates a document node |
|
| Indicates a document type node |
|
| Indicates a document fragment node |
|
| Indicates a notation node |
|
| Indicates a whitespace node |
|
| Indicates a significant whitespace node |
|
| Indicates an end element node |
|
| Indicates an end entity node |
|
| Indicates an XML declaration node |
The NodeTypeMap
constant in Xml namespace provides a mapping between node type codes and the corresponding string code as defined in the following table.
Table 4.993. NodeTypeMap Constant Hash
Key | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Additionally, the classes in the following table are included in the Xml namespace.