@svta/common-media-library
Version:
A common library for media playback in JavaScript
16 lines • 516 B
TypeScript
import type { XmlNode } from './XmlNode.js';
/**
* Recursively finds all elements by name within an XML structure.
*
* @param node - The current XML node to search within.
* @param name - The name of the target nodes to find.
* @param found - An array to collect matching nodes.
* @returns An array of all matching XmlNodes.
*
* @group XML
*
* @beta
*
*/
export declare function getElementsByName(node: XmlNode, name: string, found?: XmlNode[]): XmlNode[];
//# sourceMappingURL=getElementsByName.d.ts.map