summaryrefslogtreecommitdiff
path: root/docs/manual
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/access.html5
-rw-r--r--docs/manual/modify.html17
-rw-r--r--docs/manual/saving.html2
3 files changed, 12 insertions, 12 deletions
diff --git a/docs/manual/access.html b/docs/manual/access.html
index dcb072d..c6abd05 100644
--- a/docs/manual/access.html
+++ b/docs/manual/access.html
@@ -757,13 +757,14 @@
<code class="computeroutput"><span class="identifier">xml_text</span></code> is essentially a
helper class that operates on <code class="computeroutput"><span class="identifier">xml_node</span></code>
values. It is bound to a node of type <a class="link" href="dom.html#node_pcdata">node_pcdata</a>
- or [node_cdata]. You can use the following function to retrieve this node:
+ or <a class="link" href="dom.html#node_cdata">node_cdata</a>. You can use the following
+ function to retrieve this node:
</p>
<pre class="programlisting"><span class="identifier">xml_node</span> <span class="identifier">xml_text</span><span class="special">::</span><span class="identifier">data</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
Essentially, assuming <code class="computeroutput"><span class="identifier">text</span></code>
- is an <code class="computeroutput"><span class="identifier">xml_text</span></code> object, callling
+ is an <code class="computeroutput"><span class="identifier">xml_text</span></code> object, calling
<code class="computeroutput"><span class="identifier">text</span><span class="special">.</span><span class="identifier">get</span><span class="special">()</span></code> is
equivalent to calling <code class="computeroutput"><span class="identifier">text</span><span class="special">.</span><span class="identifier">data</span><span class="special">().</span><span class="identifier">value</span><span class="special">()</span></code>.
</p>
diff --git a/docs/manual/modify.html b/docs/manual/modify.html
index b039dc7..f2f7785 100644
--- a/docs/manual/modify.html
+++ b/docs/manual/modify.html
@@ -425,15 +425,14 @@
<p>
This function tries to set the contents to the specified string, and returns
the operation result. The operation fails if the text object was retrieved
- from a node that can not have a value and that is not an element node (i.e.
- it is a <a class="link" href="dom.html#node_declaration">node_declaration</a> node), if
- the text object is empty, or if there is insufficient memory to handle the
- request. The provided string is copied into document managed memory and can
- be destroyed after the function returns (for example, you can safely pass
- stack-allocated buffers to this function). Note that if the text object was
- retrieved from an element node, this function creates the PCDATA child node
- if necessary (i.e. if the element node does not have a PCDATA/CDATA child
- already).
+ from a node that can not have a value and is not an element node (i.e. it
+ is a <a class="link" href="dom.html#node_declaration">node_declaration</a> node), if the
+ text object is empty, or if there is insufficient memory to handle the request.
+ The provided string is copied into document managed memory and can be destroyed
+ after the function returns (for example, you can safely pass stack-allocated
+ buffers to this function). Note that if the text object was retrieved from
+ an element node, this function creates the PCDATA child node if necessary
+ (i.e. if the element node does not have a PCDATA/CDATA child already).
</p>
<a name="xml_text::set_value"></a><p>
In addition to a string function, several functions are provided for handling
diff --git a/docs/manual/saving.html b/docs/manual/saving.html
index 2be70cb..d0b2e02 100644
--- a/docs/manual/saving.html
+++ b/docs/manual/saving.html
@@ -465,7 +465,7 @@
<p>
When you are saving the document using <code class="computeroutput"><span class="identifier">xml_document</span><span class="special">::</span><span class="identifier">save</span><span class="special">()</span></code> or <code class="computeroutput"><span class="identifier">xml_document</span><span class="special">::</span><span class="identifier">save_file</span><span class="special">()</span></code>, a default XML document declaration is
output, if <code class="computeroutput"><span class="identifier">format_no_declaration</span></code>
- is not speficied and if the document does not have a declaration node. However,
+ is not specified and if the document does not have a declaration node. However,
the default declaration is not customizable. If you want to customize the
declaration output, you need to create the declaration node yourself.
</p>