diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-09 15:04:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-09 15:04:40 +0200 |
commit | e8e3ce68f3ea3ccbfaaa9a189b46676b91261a65 (patch) | |
tree | 1cc46a3b55cc8bc888e5e570be1d233576ea7fe9 /xml/serializer | |
parent | 5dcf6aec988a09c8c0490ff2af2070acfb30b659 (diff) |
Add support for DOCTYPE declarationxhtml
Diffstat (limited to 'xml/serializer')
-rw-r--r-- | xml/serializer | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xml/serializer b/xml/serializer index 6c55d51..68e72c3 100644 --- a/xml/serializer +++ b/xml/serializer @@ -196,6 +196,15 @@ namespace xml const std::string& encoding = "UTF-8", const std::string& standalone = ""); + // DOCTYPE declaration. If encoding or standalone are not specified, + // then these attributes are omitted from the output. + // + void + doctype_decl (const std::string& root_element, + const std::string& public_id = "", + const std::string& system_id = "", + const std::string& internal_subset = ""); + // Utility functions. // public: |