> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Découvrez comment configurer les actions XML de votre flux pour convertir du JSON en XML et de l’XML en JSON.

# XML

Cette liste d’actions XML vous permet de convertir des objets JSON en chaînes XML et des chaînes XML en objets JSON.

<div id="convert-json-to-xml">
  ## Convertir le JSON en XML
</div>

Transforme un objet JSON en chaîne XML.

<Frame>
  <img src="https://mintcdn.com/translations/3nS3prIggmJG9TUI/docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png?fit=max&auto=format&n=3nS3prIggmJG9TUI&q=85&s=f58c46a06f622b998564870b4835b6a6" alt="" width="765" height="292" data-path="docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png" />
</Frame>

<div id="input-settings">
  ### Paramètres d’entrée
</div>

| Paramètre          | Description                             |
| ------------------ | --------------------------------------- |
| JSON (obligatoire) | L’objet JSON à convertir en chaîne XML. |

<div id="output-object">
  ### Objet de sortie
</div>

| Propriété | Type   | Description              |
| --------- | ------ | ------------------------ |
| `xml`     | String | La chaîne XML convertie. |

<div id="output-object-example">
  ### Exemple d’objet de sortie
</div>

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

<div id="convert-xml-to-json">
  ## Convertir du XML en JSON
</div>

Convertit une chaîne XML en objet JSON.

<Frame>
  <img src="https://mintcdn.com/translations/pvjQqAy3EB2TK6NP/docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png?fit=max&auto=format&n=pvjQqAy3EB2TK6NP&q=85&s=ac01b0686302c4bcfb1db080a37df31e" alt="" width="776" height="295" data-path="docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png" />
</Frame>

<div id="input-settings">
  ### Paramètres d’entrée
</div>

| Paramètre         | Description                              |
| ----------------- | ---------------------------------------- |
| XML (obligatoire) | La chaîne XML à convertir en objet JSON. |

<div id="output-object">
  ### Objet de sortie
</div>

| Propriété | Type  | Description                         |
| --------- | ----- | ----------------------------------- |
| `object`  | Objet | L’objet JSON obtenu par conversion. |

<div id="output-object-example">
  ### Exemple d’objet de sortie
</div>

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

##
