Smartsite SXML CopyCode image Copy Code
<se:text save="myxml">
    { Person: { FirstName: "Donald", LastName: "Duck" } }
</se:text>

String: {debug.write("Hello there")}
DateTime: {debug.write(datetime.getdate(2012, 12, 31, 23, 59, 59))}
DataTable: {debug.write(datatable.create(FirstName, Donald, LastName, Duck))}
Xml: {debug.write(xml.fromjson($myxml))}
Example Result CopyCode image Copy Code
String: Hello there
DateTime: 2012-12-31T23:59:59
DataTable: FirstName=Donald; LastName=Duck
Xml: &lt;Person&gt;&lt;FirstName&gt;Donald&lt;/FirstName&gt;&lt;LastName&gt;Duck&lt;/LastName&gt;&lt;/Person&gt;