> For the complete documentation index, see [llms.txt](https://sevenval.gitbook.io/flat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sevenval.gitbook.io/flat/reference/functions/json-to-xml.md).

# json-to-xml()

```
node-set json-to-xml(string json)
```

The `json-to-xml` function translates the given `json` string into a corresponding XML structure as described in the [JSON DOM Structure](/flat/reference/templating/oxn.md). If any errors occur, an empty `node-set` is returned.
