Arguments
xmlQueryString
The
xmlQueryString
and ends with the
the Find dialog box, click the Save Query button, open the query file in a text editor, and
copy everything from the beginning of the
Returns
Nothing.
Example
The first statement in the following example sets up a tag search and specifies that the scope of
the search should be four files. The second statement performs the search and replace
operation.
dreamweaver.setUpComplexFindReplace('<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><replace action="setAttribute" param1="onMouseOut" ¬
param2="this.style.color='#000000';this.style.¬
fontWeight='normal'"/></dwquery>');
dw.replaceAll();
dreamweaver.setUpFind()
Availability
Dreamweaver 3.
Description
Prepares for a text or HTML source search by defining the search parameters for a subsequent
dreamweaver.findNext()
Arguments
searchObject
The
argument is an object for which the following properties can be defined:
searchObject
The
searchString
The
searchSource
HTML source.
argument is a string of XML code that begins with the
tag. (To get a string of the proper format, set up the query in
/dwquery
operation.
is the text for which to search.
property is a Boolean value that indicates whether to search the
tag to the end of the
dwquery
Find/replace functions
tag
dwquery
tag.)
/dwquery
497
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?