SimpleXML.opIndexAssign

Finds the first child element of the root element with the given name and sets it's value to the given value. If the element could not be found it's created and the give value is set.

class SimpleXML(T)
final
void
opIndexAssign
(
T2
)
(,
T[] name
)

Parameters

value T2

the value to set

name T[]

the name of the element

Meta