| 1223 | |
| 1224 | |
| 1225 | void XMLElement::SetText( const char* inText ) { |
| 1226 | if ( FirstChild() && FirstChild()->ToText() ) |
| 1227 | FirstChild()->SetValue( inText ); |
| 1228 | else { |
| 1229 | XMLText* theText = GetDocument()->NewText( inText ); |
| 1230 | InsertFirstChild( theText ); |
| 1231 | } |
| 1232 | } |
| 1233 | |
| 1234 | |
| 1235 | void XMLElement::SetText( int v ) { |
nothing calls this directly
no test coverage detected