You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
728 B
28 lines
728 B
export type Tag = { inner: null | string, outer: string };
|
|
|
|
export function findTagByName(
|
|
xml: string,
|
|
tagName: string,
|
|
options?: { debug?: boolean, nested?: boolean, startIndex?: number }
|
|
): Tag | undefined;
|
|
|
|
export function findTagsByName(
|
|
xml: string,
|
|
tagName: string,
|
|
options?: { debug?: boolean, nested?: boolean, startIndex?: boolean }
|
|
): Tag[];
|
|
|
|
export function findTagsByPath(
|
|
xml: string,
|
|
path: string[],
|
|
options?: { debug?: boolean, returnOnFirst?: boolean }
|
|
): Tag[];
|
|
|
|
export function findTagByPath(
|
|
xml: string,
|
|
path: string[],
|
|
options?: { debug?: boolean }
|
|
): Tag | undefined;
|
|
|
|
export function getAttribute(tag: string | Tag, attributeName: string, options?: { debug?: boolean } ): string;
|