| 3635 | } |
| 3636 | |
| 3637 | inline bool allow_insert_child(xml_node_type parent, xml_node_type child) |
| 3638 | { |
| 3639 | if (parent != node_document && parent != node_element) |
| 3640 | return false; |
| 3641 | if (child == node_document || child == node_null) |
| 3642 | return false; |
| 3643 | if (parent != node_document && (child == node_declaration || child == node_doctype)) |
| 3644 | return false; |
| 3645 | |
| 3646 | return true; |
| 3647 | } |
| 3648 | |
| 3649 | PUGI__FN void recursive_copy_skip(xml_node& dest, const xml_node& source, const xml_node& skip) |
| 3650 | { |
no outgoing calls
no test coverage detected