[XSL-LIST Mailing List Archive Home]
Re: [xsl] Generating PDF forms with XSLT?
Subject: Re: [xsl] Generating PDF forms with XSLT?|
From: Dennis <maillistboxes@xxxxxxxxx>
Date: Tue, 3 Jun 2003 06:14:41 -0700 (PDT)
There is no way to directly generate the PDF forms.
You need to do lot of exercise. You XML should go to a
standard format to be transformed to an XSL.
PDF can be seen as a tree (Read the PDf specs.). When
a PDF is a tree structure, it can be generated using
The direct PDF generation might not be possible.
Reason is that there are so many things that you need
to write in the PDF and it's really difficult to
calculate and generate them on the fly.
The easiest way is to generate an intermediate XML,
that has a virtual representation of PDF. Say a
RECTANGLE tag will represent (x, y, height, width) a
rectangle of PDF, a LINE tag will represent (x,y) a
line etc. A standard XSL that will parse the
intermediate XML will do the following 2 things
- Write the common code required for the PDF.
- Write the code of PDF objects like Rectangle, line
Your XML + XSL --> Intermediate XML + Standard XSL -->
--- Erik Beijnoff <erik@xxxxxxxxxxxxxx> wrote:
> I've been searching the net but haven't found any
> answer to my question,
> propably beacuse it's a bit difficult to formulate
> at Google. :)
> Are there any tools to generate PDF forms
> dynamically from an XML template?
> Afaik you can only generate PDF text layout with
> XSLT and XSL-FO, no forms
> Alternatives? Prefferably in Java, but anything will
> /Erik Beijnoff
> XSL-List info and archive:
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list