(Supporting ADX v03.1.00) Owner's manual

Table Of Contents
Brocade Virtual ADX Graphical User Interface Guide 305
53-1003242-01
XML schema element reference
B
Example XML Content: CSW response policies schema elements
CSW OpenScript schema elements
TABLE 99 CSW OpenScript schema elements
Element Type Description Rules / Notes
csw.scripts container A collection of scripts Optional
scripts.script container A single script Multiple script elements are
allowed; unlimited except for
available
dynamically-allocated
memory
script.name string The script name 12 characters maximum,
must be in the standard DOS
8.3 filename format
script.scriptProfile string The script profile name 30 characters maximum,
must name a script profile
existing within this template
script.content string The script content 65535 characters
maximum, must Perl code
plus special substitution
markers for template
variables, e.g.
"##[MY_VAR]##", or
"##[MY_LIST[2]]##" for an
item within a list variable.
CDATA packaging of the
script content will almost
certainly be required.
csw.scriptProfiles container A collection of script profiles Optional
<ADXTemplate xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation="ADXTemplate.xsd">
<slb>
<csw>
<responsePolicies>
<responsePolicy>
<name>response-policy</name>
<actions>
<action>
<ruleName>response-rule-header-suffix</ruleName>
<actionType>response-body-replace</actionType>
<rewriteReplace>
<string>replace-this</string>
<offset>10</offset>
<length>5</length>
</rewriteReplace>
</action>
</actions>
</responsePolicy>
</responsePolicies>
</csw>
</slb>
</ADXTemplate>