summaryrefslogtreecommitdiff
path: root/docs/manual
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-31 17:58:31 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-31 17:58:31 +0000
commita049c2db1d9741b3a162e4789f94d711858a0927 (patch)
tree2a81c0ef1e4f8c350906e3723b3fd80c98e27f4d /docs/manual
parentf463f6b744f6a9e523a0d0f2f76d21fff05fddd9 (diff)
docs: Regenerated HTML documentationv1.0
git-svn-id: http://pugixml.googlecode.com/svn/trunk@792 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/saving.html19
-rw-r--r--docs/manual/xpath.html4
2 files changed, 11 insertions, 12 deletions
diff --git a/docs/manual/saving.html b/docs/manual/saving.html
index 2cbf06e..abaf9f2 100644
--- a/docs/manual/saving.html
+++ b/docs/manual/saving.html
@@ -318,21 +318,20 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- <a name="format_no_declaration"></a><code class="literal">format_no_declaration</code> allows
- to disable default node declaration output. By default, if the document
- is saved via <code class="computeroutput"><span class="identifier">save</span></code> or
- <code class="computeroutput"><span class="identifier">save_file</span></code> function, and
- it does not have any document declaration, a default declaration is output
- before the document contents. Enabling this flag disables this declaration.
+ <a name="format_no_declaration"></a><code class="literal">format_no_declaration</code> disables
+ default node declaration output. By default, if the document is saved
+ via <code class="computeroutput"><span class="identifier">save</span></code> or <code class="computeroutput"><span class="identifier">save_file</span></code> 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 <code class="computeroutput"><span class="identifier">xml_node</span><span class="special">::</span><span class="identifier">print</span></code>
functions: they never output the default declaration. This flag is <span class="bold"><strong>off</strong></span> by default. <br><br>
</li>
<li class="listitem">
- <a name="format_write_bom"></a><code class="literal">format_write_bom</code> 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
+ <a name="format_write_bom"></a><code class="literal">format_write_bom</code> 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 <code class="computeroutput"><span class="identifier">xml_node</span><span class="special">::</span><span class="identifier">print</span></code>
functions: they never output the BOM. This flag is <span class="bold"><strong>off</strong></span>
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 @@
<span class="keyword">bool</span> <span class="identifier">xpath_variable</span><span class="special">::</span><span class="identifier">set</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">xpath_node_set</span><span class="special">&amp;</span> <span class="identifier">value</span><span class="special">);</span>
</pre>
<p>
- These function modify the variable value. Note that no type conversions are
- performed; if the type mismatch occurs, the functions return <code class="computeroutput"><span class="keyword">false</span></code>; they also return <code class="computeroutput"><span class="keyword">false</span></code>
+ These functions modify the variable value. Note that no type conversions
+ are performed; if the type mismatch occurs, the functions return <code class="computeroutput"><span class="keyword">false</span></code>; they also return <code class="computeroutput"><span class="keyword">false</span></code>
on allocation failure. The variable values are copied to the internal variable
storage, so you can modify or destroy them after the functions return.
</p>