Merge pull request #125 from PKEuS/master
Added depth as constructor argument to XMLPrinter
This commit is contained in:
@@ -126,11 +126,9 @@ class XMLDocument;
|
||||
class XMLElement;
|
||||
class XMLAttribute;
|
||||
class XMLComment;
|
||||
class XMLNode;
|
||||
class XMLText;
|
||||
class XMLDeclaration;
|
||||
class XMLUnknown;
|
||||
|
||||
class XMLPrinter;
|
||||
|
||||
/*
|
||||
@@ -1885,7 +1883,7 @@ public:
|
||||
If 'compact' is set to true, then output is created
|
||||
with only required whitespace and newlines.
|
||||
*/
|
||||
XMLPrinter( FILE* file=0, bool compact = false );
|
||||
XMLPrinter( FILE* file=0, bool compact = false, int depth = 0 );
|
||||
~XMLPrinter() {}
|
||||
|
||||
/** If streaming, write the BOM and declaration. */
|
||||
|
||||
Reference in New Issue
Block a user