Batch validate all XML files using MAC Terminal

Just found this to be very useful as I have several XML files and after making some changes its nice to make sure that they are still well-formed.

This terminal command will throw DTD errors, which can be fine if you don’t use them (DTD is not mandatory).

xmllint --valid --noout **/*.xml