| 1521 | |
| 1522 | |
| 1523 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1524 | { |
| 1525 | const XMLAttribute* a = FindAttribute( name ); |
| 1526 | if ( !a ) { |
| 1527 | return 0; |
| 1528 | } |
| 1529 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1530 | return a->Value(); |
| 1531 | } |
| 1532 | return 0; |
| 1533 | } |
| 1534 | |
| 1535 | int XMLElement::IntAttribute(const char* name, int defaultValue) const |
| 1536 | { |
nothing calls this directly
no test coverage detected