Example
The following example gets the schema tree from the XML schema cache for menus.xml:
var theSchema = MMXSLT.getXMLSchema("file:///c:/Program
Files/Macromedia/dreamweaver/configuration/Menus/menus.xml"");
MMXSLT.getXMLSourceURI()
Availability
Dreamweaver 8.
Description
This function gets a reference to the XML source document associated with the current XSLT
document.
Arguments
xsltfileURI, {bUseTempForRemote}
The
xsltfileURI
of the XSL file.
The
bUseTempForRemote
reference to the temporary XML file (for example,
Settings/username/Local Settings/Temporary Internet Files/Content.IE5/
GTSLQ9KZ/rss[1].xml
example,
http://myHost/rssfeed.xml
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 gets the reference to the XML source document associated with
c:\myxslt\myxsltdocument.xsl:
var theXMLSource = MMXSLT.getXMLSourceURI("file:///c:/myxslt/
myxsltdocument.xsl");
352
Document
argument is a string that is the local file URI that points to the location
argument, which is optional, is a Boolean value:
) that is downloaded when the original XML file is remote (for
file:///C:/Documents and
) ;
returns an absolute reference.
false
¬
returns a
true
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?