Conditions: Difference between revisions

Jump to navigation Jump to search
m
→‎Supported elements: rephrase/grammar/code-language mix
(→‎Related content: Readme and source code links)
m (→‎Supported elements: rephrase/grammar/code-language mix)
Line 21: Line 21:


== Supported elements ==
== Supported elements ==
Each comparison (like less-than or greater-than-equals) requires either two <tt>&lt;property&gt;</tt>s (the first with index=0 and the second with index=1) or a <tt>&lt;property&gt;</tt> (considered first) and <tt>&lt;value&gt;</tt> (considered second); booleans compare each of their child <tt>&lt;conditions&gt;</tt>. A <tt>&lt;condition&gt;</tt> node itself functions as an <tt>&lt;and&gt;</tt>.
Each comparison (like less-than or greater-than-equals) requires either two <tt>&lt;property&gt;</tt> elements (the first with index=0 and the second with index=1) or a <tt>&lt;property&gt;</tt> (considered first) and <tt>&lt;value&gt;</tt> (considered second); booleans compare each of their child conditions. A <tt>&lt;condition&gt;</tt> element itself functions as an <tt>&lt;and&gt;</tt> element; that is, it can have several children, all of which must be true to make the whole condition true.
<syntaxhighlight lang="xml" enclose="div">
<syntaxhighlight lang="xml" enclose="div">
<and>
<and>
395

edits

Navigation menu