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 where
, binding
and/or 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.
When no 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.
(example needed)
iscontainer
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.isempty
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.parent
parsetype
Integer
, the rule will only match RDF nodes with a parse type of Integer. Inherited Properties |