| 1625 | |
| 1626 | |
| 1627 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1628 | { |
| 1629 | const XMLAttribute* a = FindAttribute( name ); |
| 1630 | if ( !a ) { |
| 1631 | return 0; |
| 1632 | } |
| 1633 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1634 | return a->Value(); |
| 1635 | } |
| 1636 | return 0; |
| 1637 | } |
| 1638 | |
| 1639 | int XMLElement::IntAttribute(const char* name, int defaultValue) const |
| 1640 | { |
no test coverage detected