MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Spécifications Page 353

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 504
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 352
Participant EDML files 353
<searchPatterns> attributes
The following items are valid attributes of the searchPatterns tag.
whereToSearch
Description
This attribute specifies where to search for the participant text. This attribute is related to the
insert location, so be sure to set each attribute carefully (see “location” on page 349).
Parent
searchPatterns
Type
Attribute.
Required
Yes.
Values
directive, tag+tagName, tag+*, comment, text
The directive value searches all server directives (server-specific tags). For ASP and JSP,
this means search all
<% ... %> script blocks.
The tag+tagName value searches the contents of a specified tag, as shown in the
following example:
<searchPatterns whereToSearch="tag+FORM">
This example searches only form tags. By default, the entire outerHTML node is searched.
For
INPUT tags, specify the type after a slash (/). In the following example, to search all
submit buttons, use the following code:
<searchPatterns whereToSearch="tag+INPUT/SUBMIT">.
The tag+* value searches the contents of any tag, as shown in the following example:
<searchPatterns whereToSearch="tag+*">
This example searches all tags.
NOTE
Tag attributes are not searched, even if they contain directives.
Vue de la page 352
1 2 ... 348 349 350 351 352 353 354 355 356 357 358 ... 503 504

Commentaires sur ces manuels

Pas de commentaire