throws TransformerException, TransformerConfigurationException,
SAXException, IOException, ParserConfigurationException,
MalformedURLException {
TransformerFactory tfactory = TransformerFactory.newInstance();
NodeInfo doc = new XPathEvaluator().setSource(new StreamSource(new File(xslID).toURL().toString()));
Templates templates = tfactory.newTemplates(doc);
System.err.println("Stylesheet built OK");
Transformer transformer = templates.newTransformer();
XPathEvaluator xpath = new XPathEvaluator();
xpath.setSource(new StreamSource(new File(sourceID).toURL().toString()));
NodeInfo node = (NodeInfo)xpath.evaluateSingle("/*/*[1]");
System.err.println("Source document built OK");
TinyBuilder builder = new TinyBuilder();
transformer.transform(node, builder);