@svta/common-media-library
    Preparing search index...

    Function getElementsByName

    • Beta

      Recursively finds all elements by name within an XML structure.

      Parameters

      • node: XmlNode

        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.