main funcions fixes

This commit is contained in:
2025-09-29 22:06:11 +09:00
parent 40e016e128
commit c8c3274527
7995 changed files with 1517998 additions and 1057 deletions

View File

@@ -0,0 +1,17 @@
export declare class XElement {
readonly name: string;
value: string;
attributes: {
[key: string]: string;
} | null;
isCData: boolean;
elements: Array<XElement> | null;
constructor(name: string);
attribute(name: string): string;
removeAttribute(name: string): void;
element(name: string, ignoreCase?: boolean, errorIfMissed?: string | null): XElement;
elementOrNull(name: string, ignoreCase?: boolean): XElement | null;
getElements(name: string, ignoreCase?: boolean): XElement[];
elementValueOrEmpty(name: string, ignoreCase?: boolean): string;
}
export declare function parseXml(data: string): XElement;