Build
Convert an object to an XML string.
Input
Field | Definition | Type | Required |
---|---|---|---|
object |
The object to be converted into an XML string. |
Object |
TRUE |
options |
|||
rootName |
Name of the root element of the XML document. |
Text |
FALSE |
doctype |
The document type declaration of the XML document. |
Text |
FALSE |
renderOptions |
|||
pretty |
Determines whether the XML document should be rendered into "pretty" style. The options are True and False. |
True/False |
FALSE |
indent |
Used when the pretty field is set to True. This value specifies the characters to use as indentation characters in the XML document. |
Text |
FALSE |
newline |
Used when the pretty field is set to True. This value specifies the characters to use as newline characters in the XML document. |
Text |
FALSE |
declaration |
|||
version |
Determines the version that's added to the XML declaration. The default is |
Text |
FALSE |
encoding |
Adds a specified character encoding to the XML declaration, for example, |
Text |
FALSE |
standalone |
Adds a standalone attribute to the XML declaration.
|
True/False |
FALSE |
Output
Field | Definition | Type |
---|---|---|
xml |
The assembled XML document. |
Text |