File indexPage = new File(buildDir, getIndexPageName());
debug("Transforming %s to %s.", docsXml, indexPage);
transformer.transform(new StreamSource(docsXml), new StreamResult(indexPage));
}
catch (TransformerException e) {
throw new EnunciateException("Error during transformation of the documentation (stylesheet " + xsltURL +
", document " + new File(getGenerateDir(), "docs.xml") + ")", e);
}
}