diff options
Diffstat (limited to 'docs/manual/modify.html')
-rw-r--r-- | docs/manual/modify.html | 17 |
1 files changed, 8 insertions, 9 deletions
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 |