Difference between revisions of "Operator Element"
Jump to navigation
Jump to search
m
→Boolean Operators
imported>JRoush |
imported>JRoush |
||
Line 55: | Line 55: | ||
== Boolean Operators == | == Boolean Operators == | ||
With these operators the numerical value of 'true' is encoded as the XML entity "&true;", or the literal number 2. The standard numerical value of 'false' is "&false;", or 1, but ''any'' number other than 2 will be considered false. | |||
*'''Onlyif''' - The new property value is the current property value if the contents of <onlyif> evaluate to &true;, and zero if the contents evaluate to &false;. | *'''Onlyif''' - The new property value is the current property value if the contents of <onlyif> evaluate to &true;, and zero if the contents evaluate to &false;. | ||
*'''Onlyifnot''' - Similar to <onlyif>, but with the opposite pairing. | *'''Onlyifnot''' - Similar to <onlyif>, but with the opposite pairing. |