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

  • 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 66
C H A P T E R 4 Scenario 1Basic XML Operation
57
10.Create XML patterns for Server 3:
HP SA7150> create pattern server3
URI Expression: */order.asp
XML Expression: //Amount[Value > 5000 and
Value < 10000]
Enter another pattern? [n]: y
URI Expression: */order.asp
XML Expression: //
Address[zipcode < 9000]
Enter another pattern? [n]: y
URI Expression: */order.asp
XML Expression: //Order[@type = "debit
card"]
Enter another pattern? [n]:
The table below contains examples of XML patterns programmed in
the SA7150 for each of the three servers in Scenario 1.
Server URI Expression XML Expression
1
*/order.asp //From[id = Acme]
*/order.asp //Amount[Value >= 10000]
*/order.asp default
2
*/order.asp //From[id = Widgets.com]
*/order.asp //Amount[Value < 10000]
*/order.asp //Order[@type = debit card]
3
*/order.asp //Amount[Value > 5000 and Value < 10000]
*/order.asp //Address[zipcode < 9000]
*/order.asp //Order[@type= debit card]
XML Patterns for Scenario 1
Vue de la page 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 211 212

Commentaires sur ces manuels

Pas de commentaire