more error checking for xsltproc