| 1243 | |
| 1244 | |
| 1245 | const char* XMLElement::Attribute( const char* name, const char* value ) const |
| 1246 | { |
| 1247 | const XMLAttribute* a = FindAttribute( name ); |
| 1248 | if ( !a ) { |
| 1249 | return 0; |
| 1250 | } |
| 1251 | if ( !value || XMLUtil::StringEqual( a->Value(), value )) { |
| 1252 | return a->Value(); |
| 1253 | } |
| 1254 | return 0; |
| 1255 | } |
| 1256 | |
| 1257 | |
| 1258 | const char* XMLElement::GetText() const |