beautypg.com

Uri expressions in xml patterns, Invalid uri expressions – HP e-CommerceXML Accelerator sa7150 User Manual

Page 29

background image

C H A P T E R 3

XML Operations

19

Where:

employee

,

name

,

address, street, city, state,

and

zip

are the elements of the XML document.

lastName

,

firstName

, and

initial

are the attributes of the

element,

name

.

13280 Evening Creek Dr, San Diego, California,

and

92128

are the text components of the elements,

street,

city, state,

and

zip

, respectively.

“Smith,” and “John,” and “K” are the text components of the

lastName

,

firstName

, and

initial

attributes of the

name

element.

XML expressions configured in the SA7150 are matched against
XML data which is then sent for fulfillment to server assignments
defined in XML patterns.

URI expressions in XML Patterns

XML configurations use URI expressions to assign particular classes
of URLs to particular servers for fulfillment. Applicable expressions
are listed below:

File type expressions, such as

*.asp

Path expressions, such as

/PurchaseOrder/*

Unique file expressions, such as

/purchase.cgi

Wildcard expression, such as

*

Negation expressions, such as

!*.asp

or

!*/purchase.cgi

Invalid URI Expressions

The following may not be used in URI expressions:

Text on either side of the asterisk, such as

/order*.asp

Expressions containing more than one asterisk, such as

/order*.*

Expressions containing one or more spaces or the dollar sign ($)
character

Expressions containing a vertical bar ( | ) or a carat (^)