| 4850 | } |
| 4851 | |
| 4852 | PUGI__FN xml_node xml_node::previous_sibling(const char_t* name_) const |
| 4853 | { |
| 4854 | if (!_root) return xml_node(); |
| 4855 | |
| 4856 | for (xml_node_struct* i = _root->prev_sibling_c; i->next_sibling; i = i->prev_sibling_c) |
| 4857 | if (i->name && impl::strequal(name_, i->name)) return xml_node(i); |
| 4858 | |
| 4859 | return xml_node(); |
| 4860 | } |
| 4861 | |
| 4862 | PUGI__FN xml_node xml_node::previous_sibling() const |
| 4863 | { |
no test coverage detected