| 1018 | } |
| 1019 | |
| 1020 | const XMLElement* XMLNode::NextSiblingElement(const char* name) const |
| 1021 | { |
| 1022 | for (const XMLNode* node = _next; node; node = node->_next) |
| 1023 | { |
| 1024 | const XMLElement* element = node->ToElementWithName(name); |
| 1025 | if (element) |
| 1026 | { |
| 1027 | return element; |
| 1028 | } |
| 1029 | } |
| 1030 | return 0; |
| 1031 | } |
| 1032 | |
| 1033 | const XMLElement* XMLNode::PreviousSiblingElement(const char* name) const |
| 1034 | { |
no test coverage detected