Validation framework for XSLT