A rule is used in a
template. The children of the
rule are used to declare the conditions in which the rule matches and the content that is generated. A rule may contain
action elements. A condition is defined used a
where element. For each result that matches all of the conditions, content within the rule's
action body is generated. The
bindings element is optional and may specify additional variable bindings to be used.
query element is used in a template, a default query is used and the simple query syntax may be used for RDF datasources. For more information about this, see the Simple Query Syntax.
true: The rule will only match nodes that are marked as containers. This would apply to nodes that represent folders.
false: The rule will only match nodes that are not marked as containers.
true: The rule will only match nodes that contain no child elements.
false: The rule will only match nodes that contain one or more child elements.
Integer, the rule will only match RDF nodes with a parse type of Integer.