#!/bin/sh

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