| 1221 | |
| 1222 | |
| 1223 | XMLAttribute* XMLElement::FindAttribute( const char* name ) |
| 1224 | { |
| 1225 | for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) { |
| 1226 | if ( XMLUtil::StringEqual( a->Name(), name ) ) { |
| 1227 | return a; |
| 1228 | } |
| 1229 | } |
| 1230 | return 0; |
| 1231 | } |
| 1232 | |
| 1233 | |
| 1234 | const XMLAttribute* XMLElement::FindAttribute( const char* name ) const |