Add support to XMLDocument to save file in compact mode.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user