setvalue
| setvalue | 
  Purpose
 
  
  Synopsis
 
  procedure setvalue(doc:xmldoc, n:integer, v:text|string|integer|real|boolean) 
 
  Arguments
 
 | 
     doc 
     | 
     Document to use
     | 
| 
     n 
     | 
     Node number
     | 
| 
     v 
     | 
     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
 
  
  Module
 
  
