| 435 | |
| 436 | |
| 437 | void TiXmlElement::RemoveAttribute( const char * name ) |
| 438 | { |
| 439 | #ifdef TIXML_USE_STL |
| 440 | TIXML_STRING str( name ); |
| 441 | TiXmlAttribute* node = attributeSet.Find( str ); |
| 442 | #else |
| 443 | TiXmlAttribute* node = attributeSet.Find( name ); |
| 444 | #endif |
| 445 | if ( node ) |
| 446 | { |
| 447 | attributeSet.Remove( node ); |
| 448 | delete node; |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | const TiXmlElement* TiXmlNode::FirstChildElement() const |
| 453 | { |