Michael McGrady wrote:
Now we seem to really be getting somewhere.  Thanks.  I am new at
this, so I have some new-like questions.  What is FOP?

Apache FOP.

I'll let them describe it best:
http://xml.apache.org/fop/

It's a piece of cake to use with Cocoon.

If you haven't already, then grab the 2.1.7 release, install it and take a look at the examples. FOP is used in there.

Just have a wander round the Cocoon examples to see what it can do. If you feel like getting your hands dirty you might be suprised at how easy it is to get stuck in.

Ben Pope.





On Apr 5, 2005 12:34 PM, Ben Pope <[EMAIL PROTECTED]> wrote:

Michael McGrady wrote:

Hello, Jorg,

Thanks for your response.  I want to provide an application that will
take documents and convert them to and from XML, e.g. Word to PDF, PDF
to Word, RTF to PDF, etc.  Can cocoon do this?  Thanks.

Well...

Word, PDF and RTF are not XML in their native formats.

Word can produce an XML document describing something that you want -
I'm not sure how nice it is to interpret.

Anyway, assuming you can get Word, PDF and RTF into XML, it's not too
bad to create a stylesheet that outputs XSL:FO (depending on how
exacting you want your output to be).  FOP will then create RTF and PDF
from your FO.  To be honest, the RTF generation doesn't work nearly as
well as for PDF, but I haven't tried other than setting the rendering
target so I may well have done something wrong.

Cocoon is a publishing framework at heart, it is the ideal basis for
what you want to do, but you may have to write some components yourself,
unless somebody knows better.

It's an excellent starting point, anyway.

Ben Pope.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to