xml.valToString ("hello world") //strings don't need tags
"hello world"
xml.valToString (date ("1/1/2000"))
"<dateTime.iso8601>20000101T00:00:0</dateTime.iso8601>"
xml.valToString (-12)
"<i4>-12</i4>"
xml.valToString (-12.01)
"<double>-12.01</double>"
xml.valToString (true)
"<boolean>1</boolean>"
try {xml.valToString (@scratchpad)} else {tryError}
"Can't process the request because a Frontier value of type "address" can't be represented in XML-Data at this time."