#!/bin/sh

for i in $@; do
  if `xmllint --noout $i`; then
    echo "XML:   $i"; 
  else 
    echo "ERROR: $i";
  fi
done
