typesxml
Version:
Open source XML library written in TypeScript
23 lines (22 loc) • 850 B
TypeScript
/*******************************************************************************
* Copyright (c) 2023 - 2024 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse License 1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-v10.html
*
* Contributors:
* Maxprograms - initial API and implementation
*******************************************************************************/
import { XMLDocument } from "./XMLDocument";
import { XMLNode } from "./XMLNode";
export declare class XMLWriter {
file: string;
options: any;
started: boolean;
constructor(file: string);
writeNode(node: XMLNode): void;
writeString(str: string): void;
static writeDocument(doc: XMLDocument, file: string): void;
}