Processing policy commands

Processing policy mode provides the commands to specify matching rules that identify which documents to process and processing rules that describe how to process documents.

To enter the mode, use the global stylepolicy command.

While in this mode, use the commands in the following table to define the processing policy.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.
Table 1. Processing policy commands
Command Purpose
admin-state This command sets the administrative state for the configuration.
error-rule This command assigns an error rule to the processing policy.
filter This command identifies a default stylesheet to filter documents in the processing policy.
match This command associates a global rule with a matching rule and adds the rule-template pair.
request-rule This command assigns a request rule to the processing policy.
response-rule This command assigns a response rule to a processing policy.
rule This command assigns a bidirectional rule.
summary This command specifies the brief, descriptive summary for the object instance.
xquerydefault This command identifies the default stylesheet to transform JSON documents.
xsldefault This command identifies the default stylesheet to transform documents.