Add flymake support for XML
format function checks shell command return status.