Hi all,

    These sentences works perfectly at local machine (make the fo file) but
when we run it at server write a fofile empty, and there aren't any error or
exception...

    ¿Someone knows what could be the problem?

//Make transformation of xmlfile to fo-file using  xslfile

 TransformerFactory tFactory = TransformerFactory.newInstance();
 Transformer transformer = tFactory.newTransformer(new
StreamSource("xsl.xsl"));
 transformer.transform(new StreamSource("xml.xml"), new StreamResult(new
FileOutputStream("xml.fo")));


Reply via email to