SimpleXML.opIndex

Returns the first child element of the root element, which matches the given name.

class SimpleXML(T)
final
opIndex
(
T[] name
)

Parameters

name T[]

the name of the child element

Return Value

Type: Node

the child element or null

Meta