| 1333 | |
| 1334 | |
| 1335 | void XMLElement::SetText( const char* inText ) |
| 1336 | { |
| 1337 | if ( FirstChild() && FirstChild()->ToText() ) |
| 1338 | FirstChild()->SetValue( inText ); |
| 1339 | else { |
| 1340 | XMLText* theText = GetDocument()->NewText( inText ); |
| 1341 | InsertFirstChild( theText ); |
| 1342 | } |
| 1343 | } |
| 1344 | |
| 1345 | |
| 1346 | void XMLElement::SetText( int v ) |
no test coverage detected