Specifications
526
Enabler
“dreamweaver.canExportTemplateDataAsXML()” on page 420
Example
if(dreamweaver.canExportTemplateDataAsXML())
{
dreamweaver.exportTemplateDataAsXML("file:///c|/dw_temps/mytemplate.txt")
}
dreamweaver.updatePages()
Availability
Dreamweaver 3
Description
Opens the Update Pages dialog box and selects the specified options.
Arguments
{typeOfUpdate}
typeOfUpdate
must be "library", "template", or "both". If the argument is omitted, it
defaults to
"both".
Returns
Nothing.
Live data functions
You can use the following live-data functions to mimic menu functionality:
• showLiveDataDialog() is used for the View > Live Data Settings menu item.
• setLiveDataMode() is used for the View > Live Data and View > Refresh Live Data menu
items.
• getLiveDataMode() is also used for View > Live Data menu item.
You can use the remaining live-data functions when you implement the translator API
liveDataTranslateMarkup() function.
dreamweaver.getLiveDataInitTags()
Availability
Dreamweaver UltraDev 1
Description
Returns the initialization tags for the currently active document. The initialization tags are the
HTML tags that the user supplies in the Live Data Settings dialog box. This function is typically
called from a translator’s
liveDataTranslateMarkup() function, so that the translator can pass
the tags to the
liveDataTranslate() function.
Arguments
None.
Returns
A string that contains the initialization tags.