XML Script logo
Example of _OP_PWR_EQUALS
Code

<_data >
	<foo1 > 10 </foo1>
	<foo2 > 0 </foo2>	
</_data>

# foo2 ^= 3 #
# foo2 ^= 0 #
Raising any number to the power of 0 will equal 1, so foo2 ^= 0
will output #foo2#

Output

Raising any number to the power of 0 will equal 1, so foo2 ^= 0
will output 1

Ref

x.6804

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited