470,848 Members | 1,751 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

Starting with XSL-FO

Hello there,

I have just started with XSL-FO and I have the following problem. I
am not able to produce the proper pdf file. Here is what I have:

http://gdcm.sourceforge.net/test.pdf

here is what I should have:

http://www.antennahouse.com/XSLsampl...le-table_1.pdf

I am working on Debian/linux with fop (apache). To produce test.pdf I
did the following:

$ history
1 mkdir /tmp/2
2 cd /tmp/2
3 wget http://www.antennahouse.com/XSLsampl...-all-files.zip
4 unzip sample-all-files.zip
5 fop fo/sample-table_1.fo test.pdf

and fop execution produced:
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property - "xml:lang" is not implemented yet.
[INFO] [1]
[INFO] JAI support was not installed (read: not present at build time).
Trying to use Jimi instead
[INFO] Parsing of document complete, stopping renderer

Any comment/suggestion welcome
Mathieu

May 20 '06 #1
2 1311
Hi Mathieu,

AntenaHouse provides a commercial FO processor supporting much more
than Apache FOP. The files from AntennaHouse are probably intended to
show the features their processor provide so it is understandable that
a processor like Apache FOP may not render them correctly. You may
eventually try with the FOP 0.92 beta and see if you get better
results:
http://xmlgraphics.apache.org/fop/re...#FOP+0.92+beta

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

May 22 '06 #2

George Bina wrote:
Hi Mathieu,

AntenaHouse provides a commercial FO processor supporting much more
than Apache FOP. The files from AntennaHouse are probably intended to
show the features their processor provide so it is understandable that
a processor like Apache FOP may not render them correctly. You may
eventually try with the FOP 0.92 beta and see if you get better
results:
http://xmlgraphics.apache.org/fop/re...#FOP+0.92+beta


Makes perfect sense. Since this was more for test, I'll simply avoid
the few tags Apache FOP cannot handle.

Thanks for your help!
Mathieu

May 22 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by will | last post: by
reply views Thread by johkar | last post: by
29 posts views Thread by Thomas | last post: by
4 posts views Thread by Jean-Christophe Michel | last post: by
1 post views Thread by Philip | last post: by
7 posts views Thread by Andy Fish | last post: by
11 posts views Thread by Rolf Barbakken | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.