Solved

xsl-fo

Posted on 2002-04-10
5
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

689 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