XML Serialize
  • 03 Feb 2023
  • 1 Minute to read
  • Dark
    Light

XML Serialize

  • Dark
    Light

Article Summary

Step Details

Introduced in Version---
Last Modified in Version8.9.0
LocationData > 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

PropertyDescriptionData Type
Readable XML OutputWord wraps the output of the step to make it easy to read.Boolean
Treat Null String Like Empty StringChanges null string values into empty string values.Boolean
Output EncodingSupports Encoding of Unicode, ASCII, UTF7, UTF8, or UTF32.---
Include BOM in OutputAdds a Byte Order Mark to the serialized output.Boolean

Parameters

PropertyDescriptionData Type
TypeType of data that will be serialized (can be a User Defined type or a default Decisions type).---

Inputs

PropertyDescriptionData Type
Object to SerializeThe input variable expects an object from the user-selected type. XML Arrays can be serialized as of 8.9.---

Outputs

PropertyDescriptionData Type
XmlSerialize1_OutputThe default variable that stores the XML serialized type.String
Error MessageOutput variable for the step error message.String

Related Information

Forum Posts:
XML Serialization, Set Namespace And Schema
How To Export Serialized XML To XML File
XSD Vs XML Serialization/Deserialization?


Was this article helpful?