xml_encode
host callCapy
function xml_encode(value : dval, root_name : string = "root") string
Description
xml_encode() encodes a dval as XML. The default root name is root.
Parameters
value : value to encode
root_name : root element name
Return Values
The XML source.
Example
Capy
print(xml_encode(dval({name: "Ada"})), "\n")