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
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...