| 1584 | |
| 1585 | |
| 1586 | void XMLElement::SetText( const char* inText ) |
| 1587 | { |
| 1588 | if ( FirstChild() && FirstChild()->ToText() ) |
| 1589 | FirstChild()->SetValue( inText ); |
| 1590 | else { |
| 1591 | XMLText* theText = GetDocument()->NewText( inText ); |
| 1592 | InsertFirstChild( theText ); |
| 1593 | } |
| 1594 | } |
| 1595 | |
| 1596 | |
| 1597 | void XMLElement::SetText( int v ) |
no test coverage detected