summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-09-10 03:05:29 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-09-10 03:05:29 +0000
commit7757503d72c7ce61e562fd5a1fd19ae90472410b (patch)
tree21b372af01729a9218692e6da051a3926f2596cf /src/pugixml.hpp
parent74f33b1a6c09513626242e6568f40569cd8709fa (diff)
Added format_no_escapes flag
git-svn-id: http://pugixml.googlecode.com/svn/trunk@819 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 8fe34ec..1826b45 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -202,6 +202,9 @@ namespace pugi
// Omit default XML declaration even if there is no declaration in the document. This flag is off by default.
const unsigned int format_no_declaration = 0x08;
+ // Don't escape attribute values and PCDATA contents. This flag is off by default.
+ const unsigned int format_no_escapes = 0x10;
+
// The default set of formatting flags.
// Nodes are indented depending on their depth in DOM tree, a default declaration is output if document has none.
const unsigned int format_default = format_indent;