User Guide
XSLT functions 351
Arguments
bUseTranslatedSource
■ The bUseTranslatedSource argument is a Boolean value: true if the function uses
offsets into the translated source;
false if the function uses the untranslated source.
The default value of the argument is
false. Dreamweaver automatically uses the
untranslated source for subsequent calls to
dw.getSelection(), dw.setSelection(),
dw.nodeToOffsets(), and dw.offsetsToNode() when the script that calls
dw.useTranslatedSource() finishes executing, if dw.useTranslatedSource() is not
explicitly called with an argument of
false before then.
Returns
Nothing.
XSLT functions
XSLT functions deal with XML files. These functions get information about XML
documents, including the schema tree or the reference to an XML document, and prompt the
user to specify the XML document associated with the current XSLT document.
MMXSLT.getXMLSchema()
Availability
Dreamweaver 8.
Description
This function returns the schema tree for the specified XML file.
Arguments
schemaURI, {bRefresh}
■ The schemaURI argument, which is required, is a string that is a reference to a local or
remote XML file.
■ The bRefresh argument, which is optional, is a Boolean value: true forces a refresh of
the schema;
false returns the copy of the schema from the XML schema cache. The
default value is
false.
Returns
A string that contains the XML schema tree.
000_DW_API_Print.book Page 351 Wednesday, July 20, 2005 11:58 AM