| 1430 | |
| 1431 | |
| 1432 | const XMLAttribute* XMLElement::FindAttribute( const char* name ) const |
| 1433 | { |
| 1434 | for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) { |
| 1435 | if ( XMLUtil::StringEqual( a->Name(), name ) ) { |
| 1436 | return a; |
| 1437 | } |
| 1438 | } |
| 1439 | return 0; |
| 1440 | } |
| 1441 | |
| 1442 | |
| 1443 | const char* XMLElement::Attribute( const char* name, const char* value ) const |