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

  • 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 30
C H A P T E R 3 XML Operations
21
An XML expressions first element must be preceded by a step
operator.
The node to the left of the last step operator in an XML expression is
the context node, i.e., the node that establishes the level within the
XML data trees hierarchy at which the SA7150 searches for a match
when comparing XML data to XML expressions. The root node is
the top level of the XML data tree, and by implication is to the left of
an XML expressions left-most step operator. Some examples of the
effects of step operators are:
//address Tells the SA7150 to search for the <address>
element anywhere in the XML data tree.
//employee//state Tells the SA7150 to search anywhere
under the <employee> element node for the <state>
element.
//employee/address Tells the SA7150 to search one level
below the <employee> node for the <address> element.
You can specify an element as *, which selects any element relative
to the context node. You can also specify an optional filter at the end
of a path to further refine parsing of the XML data stream.
Step
Operator
Name Description
/
Child
operator
Selects all immediate children of the context node
//
Descendant
operator
Selects elements at any level under the context node
XML Step Operators
Vue de la page 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 211 212

Commentaires sur ces manuels

Pas de commentaire