Initial commit
This commit is contained in:
commit
f1548f10cc
7585 files changed
+1411120
No files matched your search
+17
@@ -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;
|
||||
Reference in new issue
Block a user