Hi,
Using FOP 0.95 embedded; is there a way to pipe the warnings/info messages
to an ErrorListener?
e.g.
TransformerFactory factory = TransformerFactory.newInstance();
ErrorListener listener = new ErrorListener() {
public void warning(TransformerException exception) throws
TransformerException {
System.out.println("[error] " + exception);
}
public void error(TransformerException exception) throws
TransformerException {
System.out.println("[error] " + exception);
}
public void fatalError(TransformerException exception)
throws TransformerException {
System.out.println("[error] " + exception);
}
};
factory.setErrorListener(listener);
--
View this message in context:
http://www.nabble.com/ErrorListener--0.95--tp19203830p19203830.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]