Solved

xsl-fo

Posted on 2002-04-10
5
316 Views
Last Modified: 2013-11-18

I tried to use apache xsl-fo to generate pdf from xml file. I downloaded java, xslt, xsl-fo processors. I installed in my Window 2000 platform. However, I cannot make it work, maybe I did not set up correctly. Can someone give me a install procedure and what do I need to pay attention for installation?
0
Comment
Question by:sohn
  • 2
5 Comments
 
LVL 4

Expert Comment

by:edmund_mitchell
ID: 6936997
Hello sohn

Are you going to try an run FOP imbedded in a java app, or from the command line?

Edmund
0
 

Author Comment

by:sohn
ID: 6941020
I try to run from command line

thanks
0
 
LVL 4

Accepted Solution

by:
edmund_mitchell earned 120 total points
ID: 6943050
If you used a pre-compiled binary, skip the next paragraph.

If you built FOP yourself, and you built under the JDK1.4, did you remember to remove the comment delimiters from the jdk1.4 method in /src/org/apache/fop/svg/PDFGraphics2D.java?

Here are the steps for a pre-compiled binary under Win2K - I used .20.3 from xml.apache.org/fop/download.html, clicked on the distribution directory link, and then grabbed fop-0.20.3-bin.tar.gz.  You don't need to download anything else if you have Java set up already.

Then, extract the tar file from the .gz file, and then extract the FOP-0.20.3 folder from the tar file.

In the FOP-0.20.3 folder, go into the docs folder, and then into the examples folder, and double click on runtests.bat, and it should create a subdirectory called test, and convert a bunch of xml files to pdf and store them in there.

That means all is well, so the question is then one of classpaths, environment settings, and we'll have to go through that if you get this far.

Let me know how it goes -

Edmund
0
 
LVL 26

Expert Comment

by:rdcpro
ID: 10298170
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept edmund_mitchell's Answer

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

rdcpro
EE Cleanup Volunteer
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now