diff options
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/saving.html | 19 | ||||
-rw-r--r-- | docs/manual/xpath.html | 4 |
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">&</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> |