# GetDirXml Method The GetDirXml method returns the structure of a directory as an IXMLDOMDocument. Syntax
    [obj=] SiteKiosk.CDRecording.GetDirXml(path)
Parameters
path | String that specifies the path of the xml file.
Return Value Returns an IXMLDOMDocument object. Remarks The IXMLDOMDocument contains all files and subfolders of the given path. Examples The following example displays the structure of the main directory in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    xmlDoc = SiteKiosk.CDRecording.GetDirXml("c:/");
    alert(xmlDoc.xml);
    </SCRIPT>
Applies to SiteKiosk v6.5 (and later versions). Back to top