API / geotoolkit / report / dom / DOMParser / DOMParser
DOM parser, class to convert standard DOM to geotoolkit report DOM
Constructors
Constructors
• new DOMParser(xmlDocument, options?)
| Name | Type | Description |
|---|---|---|
xmlDocument | string | Document | |
Optional options | Options | options |
Methods
▸ parse(doc?, registry?): Promise<Document>
Parse the given XML document
| Name | Type | Description |
|---|---|---|
Optional doc | string | Document | The document to parse |
Optional registry | IElementsRegistry | dom element registry |
Promise<Document>
promise
▸ Static parse(xml?, registry?): Promise<Document>
Parses the given XML document
| Name | Type | Description |
|---|---|---|
Optional xml | string | Document | The document to parse |
Optional registry | IElementsRegistry | dom element registry |
Promise<Document>
promise