| 736 | |
| 737 | |
| 738 | const XMLElement* XMLNode::FirstChildElement( const char* value ) const { |
| 739 | for( XMLNode* node=_firstChild; node; node=node->_next ) { |
| 740 | XMLElement* element = node->ToElement(); |
| 741 | if ( element ) { |
| 742 | if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) { |
| 743 | return element; |
| 744 | } |
| 745 | } |
| 746 | } |
| 747 | return 0; |
| 748 | } |
| 749 | |
| 750 | |
| 751 | const XMLElement* XMLNode::LastChildElement( const char* value ) const { |
no test coverage detected