| 1580 | |
| 1581 | |
| 1582 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1583 | { |
| 1584 | const XMLAttribute* a = FindAttribute( name ); |
| 1585 | if ( !a ) { |
| 1586 | return 0; |
| 1587 | } |
| 1588 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1589 | return a->Value(); |
| 1590 | } |
| 1591 | return 0; |
| 1592 | } |
| 1593 | |
| 1594 | int XMLElement::IntAttribute(const char* name, int defaultValue) const |
| 1595 | { |
no test coverage detected