SetAttribute: true/false rather 1/0
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 9ef7bc4..118c60d 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -538,7 +538,7 @@
 

 void XMLUtil::ToStr( bool v, char* buffer, int bufferSize )

 {

-    TIXML_SNPRINTF( buffer, bufferSize, "%d", v ? 1 : 0 );

+    TIXML_SNPRINTF( buffer, bufferSize, "%s", v ? "true" : "false" );

 }

 

 /*