CL_DomElement::get_attribute - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_DomElement::get_attribute

Returns the specified attribute. Returns the specified attribute, using a default value if its not there.

    	std::string get_attribute(
    		const std::string& name);

    	std::string get_attribute(
    		const std::string& name, const std::string& default_value);

See also:

CL_DomElement

Questions or comments, write to the ClanLib mailing list.