Brocade Virtual ADX Graphical User Interface Guide (Supporting ADX v03.1.00) User Manual
Page 315

Brocade Virtual ADX Graphical User Interface Guide
303
53-1003242-01
XML schema element reference
B
Example XML Content: CSW response rules schema elements
body.operation
enumerated
string
The kind of test
operation to perform on
the body
•
equals
•
exists
•
pattern
•
prefix
•
search
•
suffix
body.value
string
The value to test for in
the operation
Required for all operation
types except "exists"
responseRule.caseInsensitive
boolean
The case-insensitive flag Default is false; optional
TABLE 97
CSW response rules schema elements (Continued)
Element
Type
Description
Rules / Notes
<ADXTemplate xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation="ADXTemplate.xsd">
<slb>
<csw>
<responseRules>
<responseRule>
<name>response-rule-status-code</name>
<type>status-code</type>
<details>
<statusCode>
<from>1</from>
<to>999</to>
</statusCode>
</details>
</responseRule>
<responseRule>
<name>response-rule-header-suffix</name>
<type>header</type>
<details>
<header>
<headerName>my-response-header</headerName>
<operation>suffix</operation>
<value>suffix-value</value>
</header>
</details>
</responseRule>
<responseRule>
<name>response-rule-body-pattern</name>
<type>body</type>
<details>
<body>
<operation>pattern</operation>
<value>pattern-value</value>
</body>
</details>
</responseRule>
</responseRules>
</csw>
</slb>
</ADXTemplate>