User Guide

258 Chapter 14: Document
dreamweaver.exportEditableRegionsAsXML() (deprecated)
Availability
Dreamweaver 3; deprecated in MX.
Description
This function opens the Export Editable Regions as XML dialog box.
Arguments
None.
Returns
Nothing.
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}
The filePath argument, which is optional, is a string that specifies the filename to which
Dreamweaver exports the template. Express the
filePath argument as a URL file string, such
as
"file:///c|/temp/mydata.txt".
Returns
Nothing.
Enabler
dreamweaver.canExportTemplateDataAsXML()” on page 444.
Example
if(dreamweaver.canExportTemplateDataAsXML())
{
dreamweaver.exportTemplateDataAsXML("file:///c|/dw_temps/mytemplate.txt")
}
000_DW_API_Print.book Page 258 Wednesday, August 20, 2003 9:14 AM