Specifications
452
dreamweaver.createXMLDocument()
Availability
Dreamweaver MX
Description
Creates and opens a new XML file, which is empty except for the XML directive.
Arguments
None.
Returns
The DOM of the new XML file.
Example
The following example creates a new document, which is empty except for the XML directive:
var theDOM = dreamweaver.createXMLDocument("document");
dreamweaver.exportCSS()
Availability
Dreamweaver 3
Description
Opens the Export Styles as a CSS File dialog box.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.canExportCSS()” on page 420
dreamweaver.exportTemplateDataAsXML()
Availability
Dreamweaver MX
Description
Exports the current document to the specified file as XML. This function operates on the
document that has focus, which must be a template. If you do not specify a filename argument,
Dreamweaver MX opens a dialog box to request the export file string.
Arguments
{filePath}
filePath
Optional. A string that specifies the filename to which Dreamweaver exports the
template. Express
filepath as a URL file string, such as, "file:///c|/temp/mydata.txt".
Returns
Nothing.