Specifications

Server Behaviors 169
EDML Tag: searchPatterns
Description
Provides information about how to find the participant text in the document and contains a list
of patterns that are used when searching for a participant. If multiple search patterns are defined,
they all must be found within the text being searched (the search patterns have a logical AND
relationship), unless they are marked as optional using the
isOptional flag.
Parent
implementation
Type
Block tag.
Required
No.
Attribute: whereToSearch
Description
Specifies where to search for the participant text. This is related to the insert location, so be sure
to set them both carefully (see Attribute: location on page 166).
Parent
searchPatterns
Type
Attribute.
Required
Yes.
Values
directive, tag+tagName, tag+*, comment, text
directive searches all server directives (server-specific tags). For ASP and JSP, this means
search all <% ... %> script blocks.
Note: Tag attributes are not searched, even if they contain directives.
tag+tagName searches the contents of a specified tag, as shown in the following example:
<searchPatterns whereToSearch="tag+FORM">
This example indicates that only form tags should be searched. By default, the entire
outerHTML is searched. For INPUT tags, specify the type after a slash (/). In this example, to
search all submit buttons, enter the following code:
<searchPatterns whereToSearch="tag+INPUT/SUBMIT">.
tag+* searches the contents of the any tag, as shown in the following example:
<searchPatterns whereToSearch="tag+*">
This example indicates that all tags should be searched.