Transforming xml to pretty form in command prompt.
npm install pretty-xml-textconvpretty-data npm package.
npm and nodejs installed.
npm install pretty-xml-textconv --global
`
Can be used to transform from command prompt.
`shell
pretty-xml-textconv file.xml >> out.txt
`
Usage for git
For implementation in all git repositories use:
`shell
git config --global diff.xml.textconv pretty-xml-textconv
`
In particular project include lines in .gitattributes:
`
*.xml diff=xml
``