--- title: "XML To Dynamic" slug: "xml-to-dynamic" tags: ["XML", "dynamic", "expando object"] updated: 2025-07-09T19:08:33Z published: 2025-07-09T19:08:33Z canonical: "documentation.decisions.com/xml-to-dynamic" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # XML To Dynamic | ## Step Details | | --- | | **Introduced in Version** | 5.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Data > XML | The **XML To Dynamic** step converts the XML input to an **ExpandoObject**. An ExpandoObject is simply an object that can be dynamically changed during run time. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | XMLInput | XML string | Boolean | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | Outputs the converted XML | ExpandoObject | | Error | Outputs the error message | String | --- ## Example 1. Pick or create a Flow. Then, select the **XML to Dynamic** step by navigating to **DATA > XML** within the **Toolbox.** ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Screenshot%202024-03-14%20105317.png) 2. In the **Properties** panel for the **XML to Dynamic** step, enter the **XMLInput** under Inputs. Please note that the Input Mapping MUST be set to **Constant**, otherwise it will give the user an error. Once the **XMLInput** has been set to **Constant**, enter the XML in the provided space. Once that is complete, connect the **Done** and **Error** paths to the **End** step to complete the Flow. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Screenshot%202024-03-14%20111417.png) 3. Once the Flow is complete, Select **Debug** and then **Start Debugging**. This will test the Flow to ensure it is working correctly, and will also show the user the **ExpandoObject** output. This Datatype allows users to add, delete, and get values for aspects of the Instance. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Screenshot%202024-03-14%20111707.png) --- Related InformationForum Posts: [XML Serialization, Set Namespace And Schema](https://community.decisions.com/discussion/29359/xml-serialization-set-namespace-and-schema) [How To Export Serialized XML To XML File](https://community.decisions.com/discussion/29405/how-to-export-serialized-xml-to-xml-file) [XSD Vs XML Serialization/Deserialization?](https://community.decisions.com/discussion/9841/xsd-vs-xml-serialization-deserialization) ## Related - [XML Serialize](/xml-serialize.md) - [XML Deserialize](/xml-deserialize.md)