--- title: "XML Serialize" slug: "xml-serialize" updated: 2025-07-09T19:04:14Z published: 2025-07-09T19:04:14Z canonical: "documentation.decisions.com/xml-serialize" --- > ## 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 Serialize | ## Step Details | | --- | | **Introduced in Version** | --- | | **Last Modified in Version** | 8.9.0 | | **Location** | Data > XML | Allows a user to convert a composite Decisions object into an XML formatted string. The step is configured per-use basis for what composite type a user would like to serialize. The Readable XML Output option will include line breaks between properties to ease human reading. --- ## Properties #### Options | Property | Description | Data Type | | --- | --- | --- | | Readable XML Output | Word wraps the output of the step to make it easy to read. | Boolean | | Treat Null String Like Empty String | Changes null string values into empty string values. | Boolean | | Output Encoding | Supports Encoding of Unicode, ASCII, UTF7, UTF8, or UTF32. | --- | | Include BOM in Output | Adds a Byte Order Mark to the serialized output. | Boolean | #### Parameters | Property | Description | Data Type | | --- | --- | --- | | Type | Type of data that will be serialized (can be a User Defined type or a default Decisions type). | --- | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Object to Serialize | The input variable expects an object from the user-selected type. XML Arrays can be serialized as of 8.9. | --- | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | XmlSerialize1_Output | The default variable that stores the XML serialized type. | String | | Error Message | Output variable for the step error message. | String | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-10-24_13h30_15.png) Related Information Forum 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)