Add SetText() as analog to GetText().
diff --git a/tinyxml2.h b/tinyxml2.h
index 086c282..3ae1c32 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -116,9 +116,9 @@
#define TIXML_SSCANF sscanf
#endif
-static const int TIXML2_MAJOR_VERSION = 1;
-static const int TIXML2_MINOR_VERSION = 0;
-static const int TIXML2_PATCH_VERSION = 13;
+static const int TIXML2_MAJOR_VERSION = 1;
+static const int TIXML2_MINOR_VERSION = 0;
+static const int TIXML2_PATCH_VERSION = 13;
namespace tinyxml2
{
@@ -1369,6 +1369,8 @@
*/
const char* GetText() const;
+ void SetText( const char* inText );
+
/**
Convenience method to query the value of a child text node. This is probably best
shown by example. Given you have a document is this form: