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

  • 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 353
354 Server Behaviors
The comment value searches only within the HTML comments <! ... >, as shown in the
following example:
<searchPatterns whereToSearch="comment">
This example searches tags such as <!-- my comment here -->.
The text value searches only within raw text sections, as shown in the following example:
<searchPatterns whereToSearch="text">
<searchPattern>XYZ</searchPattern>
</searchPatterns>
This example finds a text node that contains the text XYZ.
<searchPattern>
Description
This tag is a pattern that identifies participant text and extracts parameter values from it. Each
parameter subexpression must be enclosed in parentheses ().
You can have patterns with no parameters (which are used to identify participant text),
patterns with one parameter, or patterns with many parameters. All non-optional patterns
must be found, and each parameter must be named and found exactly once.
For more information about using the
searchPattern tag, see “Finding server behaviors
on page 369.
Parent
searchPatterns
Type
Block tag.
Required
Yes.
Values
searchString, /regularExpression/, <empty>
The searchString value is a simple search string that is case-sensitive. It cannot be used
to extract parameters.
The /regularExpression/ value is a regular expression search pattern.
Vue de la page 353
1 2 ... 349 350 351 352 353 354 355 356 357 358 359 ... 503 504

Commentaires sur ces manuels

Pas de commentaire