Hi,
Very
new to FOP so please be patient.
I am
trying to use the PreviewPanel in my Swing application to display an FO
document. I see in the javadocs that I need to do this:
renderer.clearViewportList();
// build report xml here
fopPanel.reload();
// build report xml here
fopPanel.reload();
The
problem is that I do not understand exactly how to "//build report xml here". I
have the fo document allready. But how do I render it now in the preview
panel?
Thanks
Ben