XML Script logo
Function _OP_BECOMES_EQUAL
Name

_OP_BECOMES_EQUAL

Returns

string

Parameter count

2

Parameter 1

item, a pointer(s) - creative mode

Parameter 2

value, a string

Description

Sets the value of 'item' to be 'value'. This is most commonly used with attributes, eg:
# $.foo := 3 #
Note that the object specified will match all such objects, so for example
# foo\bar := "blort" #
sets ALL OF the bar sub-elementss of ALL OF the foo sub-elements of the current data root to value "blort". Whereas
# foo[1]\bar[1] := "blort" #
only affects the first bar sub-element of the first foo sub-element.

Examples of use

                                
                        

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