| 1300 | |
| 1301 | |
| 1302 | const XMLAttribute* XMLElement::FindAttribute( const char* name ) const |
| 1303 | { |
| 1304 | for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) { |
| 1305 | if ( XMLUtil::StringEqual( a->Name(), name ) ) { |
| 1306 | return a; |
| 1307 | } |
| 1308 | } |
| 1309 | return 0; |
| 1310 | } |
| 1311 | |
| 1312 | |
| 1313 | const char* XMLElement::Attribute( const char* name, const char* value ) const |