Difference between revisions of "Operator Element"

Jump to navigation Jump to search
131 bytes added ,  10:33, 19 December 2009
m
imported>JRoush
imported>JRoush
Line 55: Line 55:


== Boolean Operators ==
== Boolean Operators ==
These operators use "&true;" (2) as the numerical value of "true", and all other values to be "false".
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.
Anonymous user

Navigation menu