Removes all child nodes (but not attributes).
| 1186 | |
| 1187 | //! Removes all child nodes (but not attributes). |
| 1188 | void remove_all_nodes() |
| 1189 | { |
| 1190 | for (xml_node<Ch> *node = first_node(); node; node = node->m_next_sibling) |
| 1191 | node->m_parent = 0; |
| 1192 | m_first_node = 0; |
| 1193 | } |
| 1194 | |
| 1195 | //! Prepends a new attribute to the node. |
| 1196 | //! \param attribute Attribute to prepend. |
no outgoing calls
no test coverage detected