• Version 0.1.34
  • Published
  • 4.8 kB
  • No dependencies
  • MIT license


npm i @types/xmldom
yarn add @types/xmldom
pnpm add @types/xmldom


TypeScript definitions for xmldom



variable DOMImplementation

var DOMImplementation: DOMImplementationStatic;

    variable DOMParser

    var DOMParser: DOMParserStatic;

      variable XMLSerializer

      var XMLSerializer: XMLSerializerStatic;


        interface DOMImplementationStatic

        interface DOMImplementationStatic {}

          construct signature

          new (): DOMImplementation;

            interface DOMParser

            interface DOMParser {}

              method parseFromString

              parseFromString: (xmlsource: string, mimeType?: string) => Document;

                interface DOMParserStatic

                interface DOMParserStatic {}

                  construct signature

                  new (): DOMParser;

                    construct signature

                    new (options: Options): DOMParser;

                      interface ErrorHandlerFunction

                      interface ErrorHandlerFunction {}

                        call signature

                        (level: string, msg: any): any;

                          interface ErrorHandlerObject

                          interface ErrorHandlerObject {}

                            property error

                            error?: ((msg: any) => any) | undefined;

                              property fatalError

                              fatalError?: ((msg: any) => any) | undefined;

                                property warning

                                warning?: ((msg: any) => any) | undefined;

                                  interface Options

                                  interface Options {}

                                    property errorHandler

                                    errorHandler?: ErrorHandlerFunction | ErrorHandlerObject | undefined;

                                      property locator

                                      locator?: any;

                                        interface XMLSerializer

                                        interface XMLSerializer {}

                                          method serializeToString

                                          serializeToString: (node: Node) => string;

                                            interface XMLSerializerStatic

                                            interface XMLSerializerStatic {}

                                              construct signature

                                              new (): XMLSerializer;

                                                Package Files (1)

                                                Dependencies (0)

                                                No dependencies.

                                                Dev Dependencies (0)

                                                No dev dependencies.

                                                Peer Dependencies (0)

                                                No peer dependencies.


                                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/xmldom.

                                                • Markdown
                                                • HTML
                                                  <a href="https://www.jsdocs.io/package/@types/xmldom"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>