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
Summary of Contents for DREAMWEAVER MX 2004
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...