findChildren

fnXmlElement[] findChildren(XmlElement parent, string localName, string nsUri = null)

Collects all child elements matching the given local name and optional namespace URI.

Parameters

parentThe parent element to search within.
localNameThe local name of the child elements to find.
nsUriOptional namespace URI to match. Defaults to null.

Returns

An array of all matching XmlElement instances. May be empty.