xmlapi-web
Version:
browser implementation of xmlapi
20 lines (19 loc) • 739 B
TypeScript
import { WebapiElement } from './webapi_element';
import { WebapiNode } from './webapi_node';
import { AbstractDocument } from 'xmlapi';
export declare class WebapiDocument extends AbstractDocument {
private wrapee;
private static parser;
private static serializer;
static parse(xmlString: string): WebapiDocument;
private static getParser();
private static getSerializer();
constructor(wrapee: XMLDocument);
native: XMLDocument;
root: WebapiElement;
equals(other: WebapiDocument): boolean;
createElement(name: string): WebapiElement;
createTextNode(value: string): WebapiNode;
serialize(): string;
}
export declare function considerIsParseErrorDocument(document: XMLDocument): boolean;