Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - Starting with XSL-FO

 
Thread Tools Search this Thread
Old 05-20-2006, 03:05 AM   #1
Default 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



mathieu
  Reply With Quote
Old 05-22-2006, 09:51 AM   #2
George Bina
 
Posts: n/a
Default Re: Starting with XSL-FO

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

  Reply With Quote
Old 05-22-2006, 04:53 PM   #3
mathieu
 
Posts: n/a
Default Re: Starting with XSL-FO


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

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump