Removes all child nodes (but not attributes).
| 1199 | |
| 1200 | //! Removes all child nodes (but not attributes). |
| 1201 | void remove_all_nodes() |
| 1202 | { |
| 1203 | for (xml_node<Ch> *node = first_node(); node; node = node->m_next_sibling) |
| 1204 | node->m_parent = 0; |
| 1205 | m_first_node = 0; |
| 1206 | } |
| 1207 | |
| 1208 | //! Prepends a new attribute to the node. |
| 1209 | //! \param attribute Attribute to prepend. |
no outgoing calls
no test coverage detected