Pike v8.0 release 1738

Method Parser.XML.Tree.VirtualNode()->get_elements()


Method get_elements

array(AbstractNode) get_elements(string|void name, bool|void full)

Description

Returns all element children to this node.

Parameter name

If provided, only elements with that name is returned.

Parameter full

If specified, name matching will be done against the full name.

Returns

Returns an array with matching nodes.