HP e-Commerce / XML director server appliance sa8250 - Users Guide

C H A P T E R 5 HP e-Commerce/XML Director Server Appliance SA8250 User Guide
196
config policygroup
service server port
xmlpattern create
(continued)
An example xmlpattern_string:
create */order.asp & doc=5 & //Amount[Value
> 10000]
Note 3: You must include a single space before and after the
ampersands (&) used to separate the RICH expression, document
number, and XML expression.
Note 4: If the RICH expression matches, but no match can be
found for incoming XML expressions, the SA8250 returns a
Server not found error message to the client. To avoid this, we
recommend that you define one of your servers as the default
server if the XML expression does not match. To do this, type this
command:
create * & default
Note 5: If the RICH expression does not match, the XML
expression is ignored.
Note 6: The document number is optional. If used, it specifies the
document number within a multipart message or URL-encoded
document. In the example above, the SA8250 looks for the fifth
document within a multipart message. If the fifth document is not
and XML document, or does not exist, the XML expression is
ignored, and the data is treated as a non-XML document and
directed to the first matched RICH expression server. Valid range
is integers 1 to 99.
Note 7: For more information on XML expressions, see Chapter
2.
Command Description
Policy Group Commands (continued)