User Guide
File manipulation functions 257
Arguments
{bOpenInSameWindow}
• The bOpenInSameWindow argument is a Boolean value that indicates whether to open the new
document in the current window. If this value is
false or omitted, or if the function is called
on the Macintosh, the new document opens in a separate window.
Returns
The document object for the newly created document, which is the same value that the
dreamweaver.getDocumentDOM() function returns.
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 444.
000_DW_API_Print.book Page 257 Wednesday, August 20, 2003 9:14 AM