API / geotoolkit / util / XMLUtil / XMLUtil
Define utils methods to prettify or simplify XML
Constructors
Methods
▸ Static prettify(xmlObject, onError): string
Return pretty string
| Name | Type | Description |
|---|---|---|
xmlObject | string | Document | xml string or DOM Document |
onError | (error: string) => void | onError callback |
string
▸ Static simplify(xmlObject): string
Return simplified XML string
| Name | Type | Description |
|---|---|---|
xmlObject | string | Document | xml string or DOM Document |
string