UNPKG

xmlapi-libxmljs

Version:
16 lines (15 loc) 600 B
import { AbstractDocument } from 'xmlapi'; import { LibxmljsElement } from './libxmljs_element'; import { LibxmljsNode } from './libxmljs_node'; export declare class LibxmljsDocument extends AbstractDocument { private wrapee; static parse(xmlString: string): LibxmljsDocument; constructor(wrapee?: any); native(): any; root(): LibxmljsElement; equals(other: LibxmljsDocument): boolean; createElement(name: string, nsUri?: string): LibxmljsElement; createTextNode(value: string): LibxmljsNode; serialize(pretty?: boolean): any; private getNsByPrefix(prefix); }