case
Description
Can be used in
Syntax
<case xPath="xpath" url="url" />
Listing 1: case Syntax
Sample
<switch> <case xPath="//express" url="http://shop.predic8.com/express/" /> <case xPath="//order" url="http://shop.predic8.com/order/" /> <case xPath="//complaint" url="http://shop.predic8.com/complaint/" /> </switch>
Listing 2: case Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
service | false | - | ||
url | false | - | Target URL | http://predic8.com/fastorder |
xPath | true | - | XPath expression. | //fastorder/ |