> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-member-mgmt-docs.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-member-mgmt-docs/4n7iYhspOux24HQf/docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png?fit=max&auto=format&n=4n7iYhspOux24HQf&q=85&s=6ca5ec36d0a4e5651a154184c40cc9af" 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-member-mgmt-docs/jZrnr82LRWID3E5v/docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png?fit=max&auto=format&n=jZrnr82LRWID3E5v&q=85&s=30fcbf25d46bf5e0db7abc21eff31937" 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"
  }
}
```

##
