C H A P T E R 3 HP e-Commerce/XML Server Accelerator SA7150 User Guide
22
Comparison operators allow the SA7150 to look for specific values
in the XML data tree and compare them with corresponding values in
your preconfigured XML patterns. An XML pattern might look like
this:
URI Expression:
*/hr.asp
XML Expression:
//address[zip > 90000]
Because the server to which the XML pattern belongs is configured
for zip codes greater than 90000 (as defined in the XML expression
component of the XML pattern), and John K. Smith’s zip code is
92128, the SA7150 sends his employee data to that server. The
following table contains the available comparison operators
Attributes
Attributes are identified by the “at” sign (@). You can specify an
attribute as
@<AttributeName>
, or use
@*
to select any attribute
relative to the context node.
Comparison
Operator
Name
Description
=
Equal to
Returns true if any values of the nodes specified in the pattern
equals given value
!=
Not equal to
Returns true if at least one value of the nodes specified in the
patterns does not equal given value
<
Less than
Returns true if at least one value of the nodes specified in the
patterns is less than the specified value
<=
Less than or
equal to
Returns true if at least one value of the nodes specified in the
patterns is less than or equal to the specified value
>
Greater than
Returns true if at least one value of the nodes specified in the
patterns is greater than the specified value
>=
Greater than
or equal to
Returns true if at least one value of the nodes specified in the
patterns is greater than or equal to the specified value
XML Comparison Operators
Summary of Contents for P4518A - Traffic Management Server Sa7150
Page 1: ...hp e commerce xml server accelerator sa7150 user guide ...
Page 10: ...C O N T E N T S HP e Commerce XML Server Accelerator SA7150 User Guide x Notes ...
Page 16: ...C H A P T E R 1 HP e Commerce XML Server Accelerator SA7150 User Guide 6 Notes ...
Page 24: ...C H A P T E R 2 HP e Commerce XML Server Accelerator SA7150 User Guide 14 Notes ...
Page 62: ...C H A P T E R 3 HP e Commerce XML Server Accelerator SA7150 User Guide 52 Notes ...
Page 80: ...C H A P T E R 4 HP e Commerce XML Server Accelerator SA7150 User Guide 70 Notes ...
Page 140: ...C H A P T E R 6 HP e Commerce XML Server Accelerator SA7150 User Guide 130 Notes ...
Page 158: ...C H A P T E R 8 HP e Commerce XML Server Accelerator SA7150 User Guide 148 Notes ...
Page 170: ...A P P E N D I X B HP e Commerce XML Server Accelerator SA7150 User Guide 160 Notes ...
Page 174: ...A P P E N D I X C HP e Commerce XML Server Accelerator SA7150 User Guide 164 Notes ...
Page 175: ...Regulatory Information Taiwan Class A EMI Statement ...
Page 184: ...A P P E N D I X D HP e Commerce XML Server Accelerator SA7150 User Guide 174 Notes ...
Page 212: ...I N D E X HP e Commerce XML Server Accelerator SA7150 User Guide 202 Notes ...