User Guide
496 Code
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.)
Returns
Nothing.
Example
The first line of the following example sets up a tag search and specifies that the scope of the
search should be the current document. The second line performs the search operation.
dreamweaver.setUpComplexFind('<dwquery><queryparams matchcase="false" ¬
ignorewhitespace="true" useregexp="false"/><find>¬
<qtag qname="a"><qattribute qname="href" qcompare="="
qvalue="#">¬
</qattribute><qattribute qname="onMouseOut" qcompare="=" qvalue="" ¬
qnegate="true"></qattribute></qtag></find></dwquery>');
dw.findNext();
dreamweaver.setUpComplexFindReplace()
Availability
Dreamweaver 3.
Description
Prepares for an advanced text or tag search by loading the specified XML query.
000_DW_API_Print.book Page 496 Wednesday, July 20, 2005 11:58 AM