-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
This package has a simple interface and TypeScript types can be added by including an index.d.ts file containing:
interface XMLElement {
name: string;
attributes: {
[name: string]: string;
};
value: string;
children: XMLElement[];
}
export default class XMLParser {
constructor();
public parseFromString(string: string): XMLElement;
public toString(xml: XMLElement): string;
public getElementsByTagName(tagName: string): XMLElement[];
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels