limitSearch
Description
This attribute limits the search to some part of the whereToSearch tag.
Parent
searchPattern
Type
Attribute.
Required
No.
Values
all, attribute+attribName, tagOnly, innerOnly
- The
allvalue (default) searches the entire tag that is specified in thewhereToSearchattribute. - The
attribute+attribNamevalue searches only within the value of the specified attribute, as shown in the following example:<searchPatterns whereToSearch="tag+FORM"> <searchPattern limitSearch="attribute+ACTION"> /MY_PATTERN/ </searchPattern></searchPatterns>
This example indicates that only the value of the
ACTIONattribute ofFORMtags should be searched. If that attribute is not defined, the tag is ignored. - The
tagOnlyvalue searches only the outer tag and ignores theinnerHTMLtag. This value is valid only ifwhereToSearchis a tag. - The
innerOnlyvalue searches only theinnerHTMLtag and ignores the outer tag. This value is valid only ifwhereToSearchis a tag.