User Guide

384 Chapter 18: Code
dreamweaver.replace()
Availability
Dreamweaver 3.
Description
Verifies that the current selection matches the search criteria that was specified by
dreamweaver.setUpFindReplace(), by dreamweaver.setUpComplexFindReplace(), or by the user
in the Replace dialog box; the function then replaces the selection with the replacement text that
is specified by the search request.
Arguments
None.
Returns
Nothing.
dreamweaver.replaceAll()
Availability
Dreamweaver 3.
Description
Replaces each section of the current document that matches the search criteria that was specified
by dreamweaver.setUpFindReplace(), by dreamweaver.setUpComplexFindReplace(), or by the
user in the Replace dialog box, with the specified replacement content.
Arguments
None.
Returns
Nothing.
dreamweaver.setUpComplexFind()
Availability
Dreamweaver 3.
Description
Prepares for an advanced text or tag search by loading the specified XML query.
Arguments
xmlQueryString
The xmlQueryString argument is a string of XML code that begins with dwquery and ends
with
/dwquery. (To get a string of the proper format, set up the query in the Find dialog box,
click the Save Query button, open the query file in a text editor, and copy everything from the
opening of the
dwquery tag to the closing of the /dwquery tag.)
000_DW_API_Print.book Page 384 Wednesday, August 20, 2003 9:14 AM