i need your help.
I try to execute the next instructions in a JSP, but at the end of the process, the fo archive is blank.
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new StreamSource("xsl.xsl"));
FileOutputStream fout= new FileOutputStream("xmlfo");
// Here should be my problem??
transformer.transform(new StreamSource("xml.xml"), new StreamResult(fout));
if you know what instructions do i need to create a pdf file from a xml and xsl file (and if is it possible do not create a fo file) please send me the instrucctions.