one of the things I hate about xml, is that without syntax highlighting its very hard to see which directives are commented and which live.

This is often a problem, when you are in root profile, on some tomcat box, and you are inspecting the server.xml for changes...


tidy -quiet -asxml -xml -indent -wrap 95 --hide-comments 1 


xmlstarlet c14n --without-comments old.xml > new.xml


xmlllint --format


cat <XML_file> | sed 's///' | sed '//d'

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.