Smartsite SXML | 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 | Copy Code |
---|---|
String: Hello there DateTime: 2012-12-31T23:59:59 DataTable: FirstName=Donald; LastName=Duck Xml: <Person><FirstName>Donald</FirstName><LastName>Duck</LastName></Person> |