Is there an easy way within vi
to make your XML text "pretty"?
For example:
I want this..
<person>
<name>Nick</name>
<age>26</age>
<gender>male</gender>
<occupation>doctor</occupation>
</person>
to be this...
<person>
<name>Nick</name>
<age>26</age>
<gender>male</gender>
<occupation>doctor</occupation>
</person>
qq0dt<jq
and then3@qj@@5k4I<space><esc>j.j.j.
. Wow, that looks pretty cryptic.