private Templates templates;
public TransformerPoolTest() throws Exception {
TransformerFactory tFactory = TransformerFactory.newInstance();
tFactory.setURIResolver(new XsltUriResolver());
InputStream xsltStream = this.getClass().getClassLoader().getResourceAsStream(XSLT);
templates = tFactory.newTemplates(new StreamSource(xsltStream));
}