Writing a File

If you modify the XML file in any way, you must write to the file in order for your changes to take effect. Use the CXML-WRITE-FILE op-code for this purpose. For example:

call "C$XML" using CXML-WRITE-FILE 
                   parser-handle 
                   "bookfile.xml"

You can write to the same file that you opened, or you can write to a new file. The filename that you specify can be anything you want. You cannot, however, write to a URL.

Note:

If you do not write to the file, your changes are lost.