Serializes the input Complex Object to XML.
The complex object to convert.
XML string representation of the object.
toXml({ name: 'John', age: 30 }); // → '<name>John</name><age>30</age>' Copy
toXml({ name: 'John', age: 30 }); // → '<name>John</name><age>30</age>'
Don't enclose the input data pill in quotes. The system automatically wraps the input value with the type of quotes or backticks that apply to your database type. If input data type is not String, the data is not transformed at runtime.
Serializes the input Complex Object to XML.