Attribute Group if-var

Description

Attributes related to the testing of a variable value Valid for schema.x.element.if-var and when-var

Attributes

  • name (NMToken)
  • realm (Any of: var, param, state-param, option, env, cookie, post-data default: var) -
    • var: Test/retrieve the value of a declared variable.
    • param: Test/retrieve the value of a CGI parameter.
    • state-param: Test/retrieve the value of a state parameter.
    • option: Test/retrieve the value of an option.
    • env: Test/retrieve the value of an environment variable.
    • cookie: Test/retrieve the value of a cookie.
    • post-data: The variable named post-data in this realm contains the raw data of any POST data.
  • multi-sep (Text) - When getting the value of a param with more than one value, it is possible to get the concatenation of all these values using the string specified by this attribute as separator.
  • encoding (Text) - For realms env and www the variable is not necessarily UTF-8. To be processed, it must be UTF-8 and may potentially need to be converted by specifying the correct source encoding (charset).
  • how (Any of: wc, wc-set, regex, cregex, case-insensitive-regex, perl-regex, case-insensitive-perl-regex) - Usage: This functionality is deprecated
  • match-type (Any of: wc, wc-set, regex, cregex, case-insensitive-regex, perl-regex, case-insensitive-perl-regex default: wc-set) - Type of match.
  • match ( Restricted form of xs:string default: ?*) - When this pattern is matched by the variable, the condition is fullfilled.
  • not-match ( Restricted form of xs:string) - When this pattern is NOT matched by the variable, the condition is fullfilled.