| 794 | |
| 795 | |
| 796 | const XMLElement* XMLNode::FirstChildElement( const char* value ) const |
| 797 | { |
| 798 | for( XMLNode* node=_firstChild; node; node=node->_next ) { |
| 799 | XMLElement* element = node->ToElement(); |
| 800 | if ( element ) { |
| 801 | if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) { |
| 802 | return element; |
| 803 | } |
| 804 | } |
| 805 | } |
| 806 | return 0; |
| 807 | } |
| 808 | |
| 809 | |
| 810 | const XMLElement* XMLNode::LastChildElement( const char* value ) const |
no test coverage detected