Hello!
I try to use com.xmlmind.fo.converter.Converter as ContentHandler.
For example:
File infile = new File("C://test.fo");
FileInputStream fis = new FileInputStream( infile);
Converter converter = new Converter();
converter.setProperty("outputFormat", "rtf");
converter.setProperty("outputEncoding", "Cp1252");
converter.setProperty("imageResolution", "120");
XMLReader xmlReader = XMLReaderFactory.createXMLReader();
xmlReader.setContentHandler( converter);
xmlReader.parse(new InputSource(fis));
fis.close();
But I have got exception:
Exception in thread "main" org.xml.sax.SAXException: no output specified
How can I set outputstream to Converter?
Thanks.
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support