Here's some code from Xalan 1. How do I do this in Xalan 2?
...
out = new ByteArrayOutputStream();
ByteArrayInputStream bin = new ByteArrayInputStream(out.toByteArray());
XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
Document response = builder.newDocument();
processor.process(new XSLTInputSource(bin), new
XSLTInputSource("/www/htdocs/bobo.xsl"), new XSLTResultTarget(response));
Pete
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com