CL_DomNode::get_node_value - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_DomNode::get_node_value

Returns the node value.

    	std::string get_node_value();

Detailed description:

The return value vary according to the node type as follows:

- Element: null
- Attr: value of attribute
- Text: content of text node
- CDataSection: content of CDATA Section
- EntityReference: null
- Entity: null
- ProcessingInstruction: entire content excluding the target
- Comment: content of the comment
- Document: null
- DocumentType: null
- DocumentFragment: null
- Notation: null

See also:

CL_DomNode

Questions or comments, write to the ClanLib mailing list.