Function: getElementsByName()
ts
function getElementsByName(
node,
name,
found?
): XmlNode[];Defined in: xml/src/getElementsByName.ts:14
Recursively finds all elements by name within an XML structure.
Parameters
node
The current XML node to search within.
name
string
The name of the target nodes to find.
found?
XmlNode[] = []
An array to collect matching nodes.
Returns
XmlNode[]
An array of all matching XmlNodes.