setvalue


Purpose
Set the value of a node.
Synopsis
procedure setvalue(doc:xmldoc, n:integer, v:text|string|integer|real|boolean)
Arguments
doc 
Document to use
Node number
New value for the node
Example
See copynode.
Further information
1. Node values are stored as text objects: the versions of this procedure accepting other types perform the conversion implicitly.
2. Element nodes have no value: this procedure will modify the value of the first child text node of the element. If no such node exists, a new text node will be added to the beginning of the list of children.
Related topics
setname
Module
mmxml


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.