Adobe 38040334 - Dreamweaver CS3 User Manual page 241

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
236
API Reference
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
argument, which is optional, is a string that specifies the filename to which Dreamweaver exports
filePath
.
the template. Express the
argument as a URL file string, such as
filePath
"file:///c|/temp/mydata.txt"
Returns
Nothing.
Enabler
See "dreamweaver.canExportTemplateDataAsXML()" on page 447.
Example
if(dreamweaver.canExportTemplateDataAsXML())
{
dreamweaver.exportTemplateDataAsXML("file:///c|/dw_temps/mytemplate.txt")
}
dreamweaver.getDocumentDOM()
Availability
Dreamweaver 2.
Description
Provides access to the objects tree for the specified document. After the tree of objects returns to the caller, the caller
can edit the tree to change the contents of the document.
Arguments
{sourceDoc}

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents