| 1593 | |
| 1594 | |
| 1595 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1596 | { |
| 1597 | const XMLAttribute* a = FindAttribute( name ); |
| 1598 | if ( !a ) { |
| 1599 | return 0; |
| 1600 | } |
| 1601 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1602 | return a->Value(); |
| 1603 | } |
| 1604 | return 0; |
| 1605 | } |
| 1606 | |
| 1607 | int XMLElement::IntAttribute(const char* name, int defaultValue) const |
| 1608 | { |
no test coverage detected