I have done this.  Note that this support is not dependent on iText in any way
whatsoever.

the process:
a. obtain your starting xml (say from your database or whatever).\
b. create a (transform) stylesheet to transfrom your base XML to an XML that
uses the tags needed by iText.
c. use iText to create PDF from second (transformed) XML

So pictorially:
database->XML
XML+XSLT->XML
XML+iText->PDF

-----Original Message-----
From: Bruno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 3:49 AM
To: willie.infopower
Cc: [EMAIL PROTECTED]
Subject: Re: [iText-questions] itext support XSLT?


Quoting "willie.infopower" <[EMAIL PROTECTED]>:

> hi
> 
> Does iText support XSLT now ?

No, writing XSLT functionality would be reinventing the wheel.

> I want to use XSL + XML to generate PDF

Remark that PDF is a binary format and that XSLT can't be
used to produce binary files. If you use XSLT you always need
two passes:

XML -> FO with XSLT
FO -> PDF with FOP

or

XML -> XML (iText tags) with XSLT
XML (iText tags) -> PDF with iText

best regards,
Bruno


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to