From a049c2db1d9741b3a162e4789f94d711858a0927 Mon Sep 17 00:00:00 2001
From: "arseny.kapoulkine"
format_no_declaration
allows
- to disable default node declaration output. By default, if the document
- is saved via save
or
- save_file
function, and
- it does not have any document declaration, a default declaration is output
- before the document contents. Enabling this flag disables this declaration.
+ format_no_declaration
disables
+ default node declaration output. By default, if the document is saved
+ via save
or save_file
function, and it does not
+ have any document declaration, a default declaration is output before
+ the document contents. Enabling this flag disables this declaration.
This flag has no effect in xml_node::print
functions: they never output the default declaration. This flag is off by default. format_write_bom
allows to enable
- Byte Order Mark (BOM) output. By default, no BOM is output, so in case
- of non UTF-8 encodings the resulting document's encoding may not be recognized
- by some parsers and text editors, if they do not implement sophisticated
+ format_write_bom
enables Byte Order
+ Mark (BOM) output. By default, no BOM is output, so in case of non UTF-8
+ encodings the resulting document's encoding may not be recognized by
+ some parsers and text editors, if they do not implement sophisticated
encoding detection. Enabling this flag adds an encoding-specific BOM
to the output. This flag has no effect in xml_node::print
functions: they never output the BOM. This flag is off
--
cgit v1.2.3