try
{
// Instantiate the TransformerFactory, and use it along with a SteamSource
// XSL stylesheet to create a translet as a Templates object.
TransformerFactory tFactory = TransformerFactory.newInstance();
Templates translet = tFactory.newTemplates(new StreamSource(xslInURI));
// Perform each transformation
doTransform(translet, "../../xsltc_todo.xml", "todo-xsltc.html");
System.out.println("Produced todo-xsltc.html");