The FOPEmitter class included in Saxon 6.5.3 does just this. Have you looked at the code? In the end I withdrew it because the FOP APIs were changing in every release and I got fed up of tracking the changes.
Michael Kay

From: [] On Behalf Of Roger Kovack
Sent: 20 March 2004 20:58
Subject: [saxon] Emitter - FOP how to?

I am trying to write a custom class to handle output that will call the FOP renderer. I'd like to invoke this class by <xsl:output method="saxon:myFOPClass"/>. I don't see how extending net.sf.saxon.event.Emitter would allow me to set a ContentHandler that can be passed to the FOP renderer. Has anyone done this?

Roger Kovack

------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration. _______________________________________________ saxon-help mailing list