rapidxml

◆ prepend_node()

template<class Ch = char>
void prepend_node ( xml_node< Ch > * child)
inline

Prepends a new child node. The prepended child becomes the first child, and all existing children are moved one position back.

Parameters
childNode to prepend.

References xml_node< Ch >::first_node(), rapidxml::node_document, xml_base< Ch >::parent(), and xml_node< Ch >::type().

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