HP P4518A - Traffic Management Server Sa7150 User Manual page 67

Hp e-commerce/xml server accelerator sa7150 - user guide
Hide thumbs Also See for P4518A - Traffic Management Server Sa7150:
Table of Contents

Advertisement

C H A P T E R 4
Server
URI Expression
*/order.asp
1
*/order.asp
*/order.asp
*/order.asp
2
*/order.asp
*/order.asp
*/order.asp
3
*/order.asp
*/order.asp
Scenario 1—Basic XML Operation
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: //
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.
XML Expression
//From[id = "Acme"]
//Amount[Value >= 10000]
default
//From[id = "Widgets.com"]
//Amount[Value < 10000]
//Order[@type = "debit card"]
//Amount[Value > 5000 and Value < 10000]
//Address[zipcode < 9000]
//Order[@type= "debit card"]
XML Patterns for Scenario 1
Address[zipcode < 9000]
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sa7150

Table of Contents