How can I highlight XML from stdin (e.g. piped from xmllint --format) to stdout?
I know how to get highlighting working in nano and view, but is there something that just outputs to stdout and exits?
What I'd link to do is just type something like
xmllint --format xmlfile.xml | some-highlighter
or maybe, for big files
xmllint --format xmlfile.xml | some-highlighter | less
and get pretty output.