On 2002.02.06 11:51 Pedro Barco Bernal wrote:
Hi all,

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

    ¿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
 transformer.transform(new StreamSource("xml.xml"), new StreamResult(new

This simply writes to the streams. You should do a bit more handling such as flushing and closing the streams I think. You are probably exiting or reading the file before it is written out.

Reply via email to