Cisco Application Velocity System User Guide (Software Version 6.0)
AppScreen Rules DTD

Table Of Contents

AppScreen Rules DTD


AppScreen Rules DTD


The following DTD describes the syntax of the AppScreen rules file:

<!ELEMENT appscreen:rules (version, rules)>

<!ELEMENT version (#PCDATA)>

<!-- Allow zero-or-more (*) rules, instead of one-or-more (+) - this 
     allows all of the rules to be commented out, and the rules 
     file is still valid.
-->
<!ELEMENT rules (rule)*>

<!ELEMENT rule (op)+>
<!ATTLIST rule
   name CDATA #REQUIRED
>

<!ELEMENT op (op*, valSet*, attribSet*)>
<!ATTLIST op
   type  (regexMatch | exists | ruleMatch | not | and | or) #IMPLIED
   reverse (true | false) #IMPLIED
>

<!ELEMENT valSet (val)+>
<!ELEMENT val (#PCDATA)>
<!ATTLIST val
   type (regex | rulename) #IMPLIED
>

<!ELEMENT attribSet (attrib)+>
<!ATTLIST attribSet
   type (include | exclude) #IMPLIED
>

<!ELEMENT attrib EMPTY>
<!ATTLIST attrib
   src CDATA #FIXED "req"
   type (param | cookie | header | enum) #IMPLIED
   name CDATA #REQUIRED
>