| 1561 | |
| 1562 | |
| 1563 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1564 | { |
| 1565 | const XMLAttribute* a = FindAttribute( name ); |
| 1566 | if ( !a ) { |
| 1567 | return 0; |
| 1568 | } |
| 1569 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1570 | return a->Value(); |
| 1571 | } |
| 1572 | return 0; |
| 1573 | } |
| 1574 | |
| 1575 | int XMLElement::IntAttribute(const char* name, int defaultValue) const |
| 1576 | { |
no test coverage detected