# XML Object The XML object provides read and write access to xml files. Members Table The following table lists the members provided by the XML object.
Members
Method | Description
LoadDocument | Loads a xml file.
SaveDocument | Saves a xml file.
Remarks This object is available through the main object SiteKiosk. Use the XML object to load, modify and save xml files. Note that the path of a file using SiteKiosk objects must be allowed in the SiteKiosk configuration (Security -> Access -> URL's With Script Permission) if it is not a browser skin file. Examples The following example loads a xml file.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    xmlDoc = SiteKiosk.XML.LoadDocument("c:/file.xml");
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top