The Mallard Conditionals extension provides a standard mechanism for run-time conditional processing. Conditional processing is handled with simple but flexible expressions in the test attribute that control whether or not content is shown. Test expressions are logical expressions built from .
In addition to single conditional tests, the Conditionals extension provides the if:choose element to support branching and fallback content for different conditions.
This specification was marked final on 2015-03-28.
The formal definition of the Mallard Conditionals extension is maintained inin code blocks within this specification. This is the namespace declaration for the schema.
# This schema cannot be used on its own. It is designed to be combined # with the core Mallard schema using the version attribute. namespace if = "http://projectmallard.org/if/1.0/"