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
diff --git a/docs/manual/xpath.html b/docs/manual/xpath.html
index 5a97a79..ea6b956 100644
--- a/docs/manual/xpath.html
+++ b/docs/manual/xpath.html
@@ -527,8 +527,8 @@
bool xpath_variable::set(const xpath_node_set& value);
- These function modify the variable value. Note that no type conversions are
- performed; if the type mismatch occurs, the functions return false
; they also return false
+ These functions modify the variable value. Note that no type conversions
+ are performed; if the type mismatch occurs, the functions return false
; they also return false
on allocation failure. The variable values are copied to the internal variable
storage, so you can modify or destroy them after the functions return.