mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
622 B
622 B
title | layout | version |
---|---|---|
to xml | command | 0.59.0 |
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