SaveDocument Method



 
The SaveDocument method saves a xml file.


Syntax

    SiteKiosk.XML.SaveDocument(path, xmlobj)
Parameters
    path String that specifies the path of the xml file.
    xmlobj IXMLDOMDocument object to save.
Return Value
    None.
Remarks
    None.
Examples
    The following example loads and saves a xml file.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    xmlDoc = SiteKiosk.XML.LoadDocument("c:/file.xml");
    SiteKiosk.XML.SaveDocument("c:/file.xml", xmlDoc);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top