hello,world working. Forgot how hard XML parsing can be.
diff --git a/tinyxml2.h b/tinyxml2.h
index 22d9d3e..2ff58c9 100644
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -48,7 +48,7 @@
public:
XMLNode* InsertEndChild( XMLNode* addThis );
- void Print( FILE* cfile, int depth ); // prints leading spaces.
+ virtual void Print( FILE* cfile, int depth );
protected:
XMLNode( XMLDocument* );
@@ -90,6 +90,7 @@
XMLNode* next;
private:
+ void PrintSpace( FILE* cfile, int depth ); // prints leading spaces.
};
@@ -100,7 +101,7 @@
XMLComment( XMLDocument* doc );
virtual ~XMLComment();
- void Print( FILE* cfile, int depth );
+ virtual void Print( FILE* cfile, int depth );
protected:
char* ParseDeep( char* );