MMXSLT.launchXMLSourceDialog()
Availability
Dreamweaver 8.
Description
This function prompts the user to specify the XML source document that is associated with the current XSLT
document. The user can choose either a local or remote reference to an XML document.
Arguments
{xsltfileURI, bUseTempForRemote, bAddSchemaReference}
• The
argument is optional. It is a string that is the local file URI that points to the location of the XSL
xsltfileURI
file. If this argument is omitted, it defaults to the current open document.
• The
bUseTempForRemote
temporary XML file (for example,
Settings/Temporary Internet Files/Content.IE5/GTSLQ9KZ/rss[1].xml
original XML file is remote (for example,
• The
bAddSchemaReference
XML source URI that is specified in the XML source dialog box. If this argument is omitted, it defaults to the
current open document.
Returns
A string that contains the reference to the XML source document associated with the current XSLT document. If the
XML source reference is a remote reference, the function returns the downloaded filepath to the temporary location.
Example
The following example launches the XML Source Document dialog box without specifying any values:
MMXSLT.launchXMLSourceDialog()
argument, which is optional, is a Boolean value:
file:///C:/Documents and Settings/username/Local
http://myHost/rssfeed.xml
argument is optional. It adds a reference in the current document that points to the
returns a reference to the
true
) that is downloaded when the
) ;
returns an absolute reference.
false
DREAMWEAVER CS3
269
API Reference