First, HTML is very likely NOT to be well-formed, and hence, not XML. XSLT 2.0
has some new features that enable it to handle non-XML input, but I think you
would be better off to get a suitable version of HTMLTidy for your platform.
It' raison d'etre (excuse the lack of a circomflex there) is to take untidy
HTML and output XML.
Now that you have XML, you should transform it to XSL-FO. From there, get a
copy of fop. That is a program that takes in XSL-FO and outputs PDF.
HTML->HTMLTidy->XSL-FO->FOP->PDF
tidy.sourceforge.net - binaries and C source code available
http://www.w3.org/TR/xsl/ - The spec on xsl-fo
xmlgraphics.apache.org/fop/ - binaries and Java source code available
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Bokluci <bokluci(_at_)googlemail(_dot_)com>
Sent: Thu, 13 Apr 2006 12:01:03 +0200
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: [xsl] pdf
I need to create dinamyc pdf files.
Is there already xsl converter html->pdf or good tutorial how to write your
own?
Thanks.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--