[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: XML to PDF


Subject: Re: XML to PDF
From: Ovidiu Predescu <ovidiu@xxxxxxxxxx>
Date: Thu, 26 Oct 2000 17:02:43 -0700

On Thu, 26 Oct 2000 16:47:20 -0500, Larry_Mason@xxxxxx wrote:

> 
> I'm looking for XSL to transform an XML document to a PDF file.  Can anyone
> send to me working examples/approaches?  I'm particularly interested in how
> paging is handled as well as "wide" reports with respect to large amounts
> of data that is tabular in nature, a bit less on table of contents and
> index.
> Links to James Tauber's FOP seem to broken - I would love to hear from
> anyone who has used it.

You can also try to translate your XML document to either LaTeX or Lout and
then use these to produce the actual PDF document. Both of these systems are
very powerful text formatting engines that produce high quality documents.

You can obtain LaTeX from any TeX distribution, for example teTeX:

http://www.tug.org/tetex/

You can then use pdflatex to translate a LaTeX document directly to PDF.

Lout can be obtained from:

http://snark.ptc.spbu.ru/~uwe/lout/lout.html

Although it doesn't generate PDF directly, it does generate Postscript. You can
then use a tool to convert from Postscript to PDF, like ps2pdf, which comes
with ghostscript (http://www.cs.wisc.edu/~ghost/).

Setting up a conversion to either LaTeX or Lout should be quite straighforward,
provided you come up with some high level macros in their languages so that you
don't have to worry about blank spaces and new lines in the output of your
transformation.


Regards,

-- 
Ovidiu Predescu <ovidiu@xxxxxxxxxx>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords