saxparser.parse("foo.xsl");
// Do a SAX-driven transform.
// Reset the parser for a new parse.
saxparser.reset();
// Set the processor Stylesheet property, telling the processor which stylesheet to use.
processor.setStylesheet(stylesheet);
// Set the processor to act as a DocumentHandler, receiving SAX events from the
// SAX parser.
saxparser.setDocumentHandler(processor);