CL_DomNode::get_node_name - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_DomNode::get_node_name

Returns the node name.

    	std::string get_node_name();

Detailed description:

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

- Element: name of tag
- Attr: name of attribute
- Text: "#text"
- CDataSection: "#cdata-section"
- EntityReference: name of entity referenced
- Entity: entity name
- ProcessingInstruction: target
- Comment: "#comment"
- Document: "#document"
- DocumentType: document type name
- DocumentFragment: "#document-fragment"
- Notation: notation name

See also:

CL_DomNode

Questions or comments, write to the ClanLib mailing list.