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