Add support to XMLDocument to save file in compact mode.

This commit is contained in:
Robert Reif
2012-09-08 19:33:57 -04:00
parent 77d7f206f6
commit 312a20fdd4
2 changed files with 6 additions and 6 deletions

View File

@@ -1075,7 +1075,7 @@ public:
Returns XML_NO_ERROR (0) on success, or
an errorID.
*/
int SaveFile( const char* filename );
int SaveFile( const char* filename, bool compact = false );
/**
Save the XML file to disk. You are responsible
@@ -1084,7 +1084,7 @@ public:
Returns XML_NO_ERROR (0) on success, or
an errorID.
*/
int SaveFile( FILE* );
int SaveFile( FILE* fp, bool compact = false );
bool ProcessEntities() const { return processEntities; }