| 4545 | } |
| 4546 | |
| 4547 | PUGI__FN xml_node xml_node::previous_sibling(const char_t* name_) const |
| 4548 | { |
| 4549 | if (!_root) |
| 4550 | return xml_node(); |
| 4551 | |
| 4552 | for (xml_node_struct* i = _root->prev_sibling_c; i->next_sibling; i = i->prev_sibling_c) |
| 4553 | if (i->name && impl::strequal(name_, i->name)) |
| 4554 | return xml_node(i); |
| 4555 | |
| 4556 | return xml_node(); |
| 4557 | } |
| 4558 | |
| 4559 | PUGI__FN xml_node xml_node::previous_sibling() const |
| 4560 | { |
no test coverage detected