Hp e-CommerceXML Accelerator sa7150 Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 212
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
C H A P T E R 3 HP e-Commerce/XML Server Accelerator SA7150 User Guide
24
Boolean Operators
Boolean operators are logical operators between expressions. These
operators are used in the PathExpression and the FilterExpression, as
shown below.
PathExpression BooleanOperator PathExpression
FilterExpression BooleanOperator FilterExpression
Function Calls
NOTE: FunctionCalls
can only be specified
within FilterExpressions.
Function calls allow you to specify partial patterns within
FilterExpressions. FunctionCall expressions are evaluated by using
the FunctionName to identify a supported function, evaluating each
of the arguments if needed, and calling the function passing the
Operator Name Description
and
Logical AND operator Performs a logical AND operation
or
Logical OR operator Performs a logical OR operation
Boolean Operators
Sample Pattern Description
//restaurant[@genre and
Food_Rating]
Matches if there is a restaurant element, a genre attribute, and a
Food_Rating child element. genre and Food_Rating are associated
with the restaurant element.
//restaurant[@genre or
Food_Rating]
Matches if there is a restaurant element, a genre attribute, or a
Food_Rating child element. genre and Food_Rating are associated
with the restaurant element.
//restaurant or //theater
Matches if there is a restaurant element or a theater element
anywhere in the XML data tree.
Boolean Operator Examples
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 211 212

Commentaires sur ces manuels

Pas de commentaire