| 1705 | |
| 1706 | |
| 1707 | void XMLElement::SetText( const char* inText ) |
| 1708 | { |
| 1709 | if ( FirstChild() && FirstChild()->ToText() ) |
| 1710 | FirstChild()->SetValue( inText ); |
| 1711 | else { |
| 1712 | XMLText* theText = GetDocument()->NewText( inText ); |
| 1713 | InsertFirstChild( theText ); |
| 1714 | } |
| 1715 | } |
| 1716 | |
| 1717 | |
| 1718 | void XMLElement::SetText( int v ) |
no test coverage detected