diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-10-31 17:44:52 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-10-31 17:44:52 +0000 |
commit | f463f6b744f6a9e523a0d0f2f76d21fff05fddd9 (patch) | |
tree | 36ed10507580a4fc90b2b7cd6ff1e58bd63fca68 /docs | |
parent | 186e491d1e7f7bddc04d5169084b224a648aa457 (diff) |
docs: Minor fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@791 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual.qbk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual.qbk b/docs/manual.qbk index c889eaf..fb49b9e 100644 --- a/docs/manual.qbk +++ b/docs/manual.qbk @@ -1282,10 +1282,10 @@ These flags control the resulting tree contents: These flags control the additional output information: -* [anchor 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. This flag has no effect in `xml_node::print` functions: they never output the default declaration. This flag is *off* by default. +* [anchor 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. [lbr] -* [anchor 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 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* by default. +* [anchor 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* by default. Additionally, there is one predefined option mask: @@ -1538,7 +1538,7 @@ In order to set variable value, you should use one of the following functions, d bool xpath_variable::set(const char_t* value); 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` on allocation failure. The variable values are copied to the internal variable storage, so you can modify or destroy them after the functions return. +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. This is an example of using variables in XPath queries ([@samples/xpath_variables.cpp]): |