Validate XSL (and possibly XML) files with libxml.
Ideally we'd also do DTD / RelaxNg scheme validations.