UNPKG

2.34 kBTypeScriptView Raw
1/**
2 * Copyright (C) 2016-2019 Michael Kourlas
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16import XmlDocument, { IXmlDocumentOptions } from "./nodes/XmlDocument";
17export { default as XmlAttribute, IXmlAttributeOptions } from "./nodes/XmlAttribute";
18export { default as XmlAttributeText, IXmlAttributeTextOptions } from "./nodes/XmlAttributeText";
19export { default as XmlCdata, IXmlCdataOptions } from "./nodes/XmlCdata";
20export { default as XmlCharData, IXmlCharDataOptions } from "./nodes/XmlCharData";
21export { default as XmlCharRef, IXmlCharRefOptions } from "./nodes/XmlCharRef";
22export { default as XmlComment, IXmlCommentOptions } from "./nodes/XmlComment";
23export { default as XmlDecl, IXmlDeclOptions } from "./nodes/XmlDecl";
24export { default as XmlDocument, IXmlDocumentOptions } from "./nodes/XmlDocument";
25export { default as XmlDtd, IXmlDtdOptions } from "./nodes/XmlDtd";
26export { default as XmlDtdAttlist, IXmlDtdAttlistOptions } from "./nodes/XmlDtdAttlist";
27export { default as XmlDtdElement, IXmlDtdElementOptions } from "./nodes/XmlDtdElement";
28export { default as XmlDtdEntity, IXmlDtdEntityOptions } from "./nodes/XmlDtdEntity";
29export { default as XmlDtdNotation, IXmlDtdNotationOptions } from "./nodes/XmlDtdNotation";
30export { default as XmlDtdParamEntityRef, IXmlDtdParamEntityRefOptions } from "./nodes/XmlDtdParamEntityRef";
31export { default as XmlElement, IXmlElementOptions } from "./nodes/XmlElement";
32export { default as XmlEntityRef, IXmlEntityRefOptions } from "./nodes/XmlEntityRef";
33export { default as XmlProcInst, IXmlProcInstOptions } from "./nodes/XmlProcInst";
34export { IStringOptions } from "./options";
35/**
36 * Returns a new XML document with the specified options.
37 */
38export declare function document(options?: IXmlDocumentOptions): XmlDocument;