public static documentFromMap(value as Map<String, Object>, rootName as String = "object", exclude as List<String> = null) as XMLDocument:
Converts a map to a DOM document.
| Parameter | Description |
|---|---|
value | Source map. |
rootName | Root element name. |
exclude | Optional list of top-level keys to skip. |
DOM document containing the map.
document = XMLSerializer.documentFromMap(data, "data")