Currently I have an xml validator package that runs from a command line, I do;
$validate
It validates and shows the respective logs on the screen.