ByteArrayOutputStream oOutputStream = new ByteArrayOutputStream();
TransformerFactory oFactory = TransformerFactory.newInstance();
StreamSource oStreamSrc = new StreamSource(oStyleSheetStream);
Templates oTemplates = oFactory.newTemplates(oStreamSrc);
Transformer oTransformer = oTemplates.newTransformer();
if (null!=oProps) setParameters(oTransformer, oProps);
StreamSource oStreamSrcXML = new StreamSource(oXMLInputStream);
StreamResult oStreamResult = new StreamResult(oOutputStream);
if (DebugFile.trace) DebugFile.writeln("Transformer.transform(StreamSource,StreamResult)");