diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-09 15:42:45 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-01-09 15:42:45 +0100 |
commit | 72399fdf6f7c2eec785fe9b0e70b7284f550d5dd (patch) | |
tree | 555a361dda0738c84f9950b3d549581a0a2315bf /src/core/XML.hpp | |
parent | d4e59364e7370938c38173cbbf232da31b69b9f1 (diff) | |
parent | 17e9bce88630964e4c6e2276b6cef7ce1f97bf27 (diff) |
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'src/core/XML.hpp')
-rw-r--r-- | src/core/XML.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/XML.hpp b/src/core/XML.hpp index 25c8dae..e55ecba 100644 --- a/src/core/XML.hpp +++ b/src/core/XML.hpp @@ -68,17 +68,17 @@ public: : Managed(mgr), parent(acquire(parent)){}; /** - * This method writes an XML prolog and the XML representing the current + * This method writes an XML doctype and the XML representing the current * node, including all children, to the given output stream. * @param out is the output stream the serialized data shall be * written to. - * @param doctype enables you to add a prefix after the XML prolog - * specifying the doctype. + * @param doctype enables you to add a prefix specifying the doctype. */ - void serialize(std::ostream &out, const std::string &doctype = ""); + void serialize(std::ostream &out, + const std::string &doctype = "<?xml version=\"1.0\"?>"); /** * This method just writes the XML representation of this node to the - * output stream, without the XML prolog. + * output stream. * * @param out the output stream the serialized data shall be written * to. |