Difference between revisions of "Operator Element"

18 bytes removed ,  15:28, 3 May 2011
m
imported>JRoush
(Rebranding XML "traits" as "attributes"; reworded the description of Min/Max for clarity)
imported>JRoush
Line 41: Line 41:


== Copy Operator ==
== Copy Operator ==
The only unary (single-operand) operator, and the only operator that will work with string values.  The <copy> operator ''replaces'' the current property value with its contents:
The only unary (single-operand) operator, and the only operator that will work with string values.  The <copy> operator ''replaces'' the current property value:
  <text>
  <text>
   <x> &lt;!-- Set the x position to be 50 pixels --&gt;
   <x> &lt;!-- Set the x position to be 50 pixels --&gt;
Anonymous user