rapidxml

◆ prepend_attribute()

template<class Ch = char>
void prepend_attribute ( xml_attribute< Ch > * attribute)
inline

Prepends a new attribute to the node.

Parameters
attributeAttribute to prepend.

References xml_node< Ch >::first_attribute(), and xml_base< Ch >::parent().

Referenced by xml_node< Ch >::insert_attribute().