Make SetText() behave like the docs say.
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 95075a5..0338beb 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -1262,7 +1262,7 @@
 

 void	XMLElement::SetText( const char* inText )

 {

-	if ( FirstChild() )

+	if ( FirstChild() && FirstChild()->ToText() )

 		FirstChild()->SetValue( inText );

 	else {

 		XMLText*	theText = GetDocument()->NewText( inText );