| 1514 | |
| 1515 | |
| 1516 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1517 | { |
| 1518 | const XMLAttribute* a = FindAttribute( name ); |
| 1519 | if ( !a ) { |
| 1520 | return 0; |
| 1521 | } |
| 1522 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1523 | return a->Value(); |
| 1524 | } |
| 1525 | return 0; |
| 1526 | } |
| 1527 | |
| 1528 | int XMLElement::IntAttribute(const char* name, int defaultValue) const |
| 1529 | { |
nothing calls this directly
no test coverage detected