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
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
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...