MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifiche Pagina 353

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 504
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 352
1 2 ... 348 349 350 351 352 353 354 355 356 357 358 ... 503 504

Commenti su questo manuale

Nessun commento