XB Library: xb::node_type

The xb::node_type is a typedef for the largest available data type. The node type describes the very meaning of the node to whole document.


Currently defined as:

namespace xb {
    typedef size_type node_type;

The following values for xb::node_type are defined:

Acording to XB specification, the node type of 16 and any of higher values are available for private use by application. Note that other implementations are free to consider these nodes auxiliary or ignore them completely.


// ...

xb::node n (...);
n.type = xb::commentary_node_type;

// ...


The xb::node_type is a typedef for the xb::size_type.