There must be something on the lines of
sed you type something like:
echo day | sed s/day/night/
the shell prints "night".
Is there something that can take a file (containing xml/html) or an xml/html string and return the formatted result for me?
Ps: want to be able to use this from my editor...