> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-docs-5551-enterprise-connect.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure your XML flow actions to convert JSON to XML and XML to JSON.

# XML

This list of XML actions allows you to convert JSON objects to XML string and XML string to JSON objects.

## Convert JSON to XML

Converts a JSON object to an XML string.

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-docs-5551-enterprise-connect/F_KuxmcPTduhDvgC/docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png?fit=max&auto=format&n=F_KuxmcPTduhDvgC&q=85&s=03267ea0e7a1ffa4dccf4ec1f2dd3a18" alt="" width="765" height="292" data-path="docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png" />
</Frame>

### Input settings

| Parameter       | Description                                              |
| --------------- | -------------------------------------------------------- |
| JSON (required) | The JSON object that will be converted to an XML string. |

### Output object

| Property | Type   | Description               |
| -------- | ------ | ------------------------- |
| `xml`    | String | The converted XML string. |

### Output object example

```json lines theme={null}
{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<name>John Doe</name>"
}
```

## Convert XML to JSON

Converts a XML string to a JSON object.

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-docs-5551-enterprise-connect/ytQ4w7U_cyzk2GeY/docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png?fit=max&auto=format&n=ytQ4w7U_cyzk2GeY&q=85&s=a3f66932c6a061b7cab054754d41e178" alt="" width="776" height="295" data-path="docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png" />
</Frame>

### Input settings

| Parameter      | Description                                             |
| -------------- | ------------------------------------------------------- |
| XML (required) | The XML string that will be converted to a JSON object. |

### Output object

| Property | Type   | Description                |
| -------- | ------ | -------------------------- |
| `object` | Object | The converted JSON object. |

### Output object example

```json lines theme={null}
{
  "object": {
    "name": "John Doe"
  }
}
```

##
