| 1265 | |
| 1266 | |
| 1267 | void XMLElement::SetText( const char* inText ) |
| 1268 | { |
| 1269 | if ( FirstChild() && FirstChild()->ToText() ) |
| 1270 | FirstChild()->SetValue( inText ); |
| 1271 | else { |
| 1272 | XMLText* theText = GetDocument()->NewText( inText ); |
| 1273 | InsertFirstChild( theText ); |
| 1274 | } |
| 1275 | } |
| 1276 | |
| 1277 | |
| 1278 | void XMLElement::SetText( int v ) |
no test coverage detected