findChild

fnXmlElement findChild(XmlElement parent, string localName, string nsUri = null)

Finds the first child element matching the given local name and optional namespace URI.

Parameters

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

Returns

The first matching XmlElement, or null if none is found.