UNPKG

@technovilla/x-document

Version:

Javascript implementation of .NET XDocument

17 lines (16 loc) 547 B
export declare class XElement { private node; constructor(node: Element); setValue(value: string): void; setAttributeValue(name: string, value: string): void; remove(): void; add(element: XElement | string): void; addAfterSelf(element: XElement | string): void; readonly parent: XElement; readonly value: string | null; private _getInernalNode; private _getNode; toString(): string; readonly namespaceUri: string | null; static parse(text: string, namespaceUri?: string | null): XElement; }