dbf.setValidating(false);
dbf.setExpandEntityReferences(false);
dbf.setCoalescing(true);
dbf.setIgnoringComments(false);
DocumentBuilder builder = dbf.newDocumentBuilder();
builder.setEntityResolver(new DexterEntityResolver(encoding));
if (inputXSL != null) {
TransformerFactory transFact = TransformerFactory.newInstance();
Templates templates = transFact.newTemplates(new StreamSource(