to xml

Convert table into .xml text

Signature

> to xml --pretty

Parameters

  • --pretty {int}: Formats the XML text with the provided indentation setting

Examples

Outputs an XML string representing the contents of this table

> { "note": { "children": [{ "remember": {"attributes" : {}, "children": [Event]}}], "attributes": {} } } | to xml

Optionally, formats the text with a custom indentation setting

> { "note": { "children": [{ "remember": {"attributes" : {}, "children": [Event]}}], "attributes": {} } } | to xml -p 3