| 723 | |
| 724 | |
| 725 | const XMLElement* XMLNode::FirstChildElement( const char* value ) const |
| 726 | { |
| 727 | for( XMLNode* node=_firstChild; node; node=node->_next ) { |
| 728 | XMLElement* element = node->ToElement(); |
| 729 | if ( element ) { |
| 730 | if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) { |
| 731 | return element; |
| 732 | } |
| 733 | } |
| 734 | } |
| 735 | return 0; |
| 736 | } |
| 737 | |
| 738 | |
| 739 | const XMLElement* XMLNode::LastChildElement( const char* value ) const |
no test coverage detected