123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- import { IStringOptions } from "../options";
- import XmlComment, { IXmlCommentOptions } from "./XmlComment";
- import XmlDecl, { IXmlDeclOptions } from "./XmlDecl";
- import XmlDtd, { IXmlDtdOptions } from "./XmlDtd";
- import XmlElement, { IXmlElementOptions } from "./XmlElement";
- import XmlProcInst, { IXmlProcInstOptions } from "./XmlProcInst";
- export interface IXmlDocumentOptions {
-
- validation?: boolean;
- }
- export default class XmlDocument {
- private readonly _children;
- private readonly _validation;
- constructor(options: IXmlDocumentOptions);
-
- comment(options: IXmlCommentOptions): XmlComment<this>;
-
- decl(options?: IXmlDeclOptions): XmlDecl<this>;
-
- dtd(options: IXmlDtdOptions): XmlDtd<this>;
-
- element(options: IXmlElementOptions): XmlElement<this>;
-
- procInst(options: IXmlProcInstOptions): XmlProcInst<this>;
-
- toString(options?: IStringOptions): string;
- }
|