xmlformat

XML Document Formatter

Install

All systems
curl cmd.cat/xmlformat.sh
Debian Debian
apt-get install xmlformat-perl
Ubuntu
apt-get install xmlformat-perl
image/svg+xml Kali Linux
apt-get install xmlformat-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install xmlformat-perl
OS X
brew install xmlformat
Raspbian
apt-get install xmlformat-perl

xmlformat-perl

XML Document Formatter

xmlformat is a configurable formatter (or "pretty-printer") for XML documents. It provides control over indentation, line-breaking, and text wrapping. These properties can be defined on a per-element basis. xmlformat provides improved diagnostic information when a document is not well-formed. (Prints line and token number, and stack trace). This is the perl implementation

xmlformat-ruby

XML Document Formatter

xmlformat is a configurable formatter (or "pretty-printer") for XML documents. It provides control over indentation, line-breaking, and text wrapping. These properties can be defined on a per-element basis. xmlformat provides improved diagnostic information when a document is not well-formed. (Prints line and token number, and stack trace). This is the ruby implementation

xmlformat