ELinks 0.16.1.1
|
DOM node. More...
#include <node.h>
Data Fields | |
uint16_t | type |
The type of the node. | |
unsigned int | allocated:1 |
Was the node string allocated? | |
struct dom_string | string |
Type specific node string. | |
struct dom_node * | parent |
The parent node. | |
union dom_node_data | data |
Type specific node data. |
DOM node.
The node data structure is an abstract container that can be used to represent the hierarchic structure of a document, such as relation between elements, attributes, etc.
unsigned int dom_node::allocated |
Was the node string allocated?
union dom_node_data dom_node::data |
Type specific node data.
struct dom_node* dom_node::parent |
The parent node.
The parent node is NULL for the root node.
struct dom_string dom_node::string |
Type specific node string.
Can contain either stuff like element name or for attributes the attribute name.
uint16_t dom_node::type |
The type of the node.
Holds a dom_node_type enum value.