| 416 | |
| 417 | |
| 418 | void TiXmlElement::RemoveAttribute( const char * name ) |
| 419 | { |
| 420 | #ifdef TIXML_USE_STL |
| 421 | TIXML_STRING str( name ); |
| 422 | TiXmlAttribute* node = attributeSet.Find( str ); |
| 423 | #else |
| 424 | TiXmlAttribute* node = attributeSet.Find( name ); |
| 425 | #endif |
| 426 | if ( node ) |
| 427 | { |
| 428 | attributeSet.Remove( node ); |
| 429 | delete node; |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | const TiXmlElement* TiXmlNode::FirstChildElement() const |
| 434 | { |