This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xml->xsl->pdf (using Antenna)
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xml->xsl->pdf (using Antenna)
- From: Rene de Vries <RdVries at PCL-HaGe dot nl>
- Date: Fri, 8 Jun 2001 16:09:43 +0200
- Organization: PCL HaGé b.v.
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Tokushige,
I've still problems getting PDF using Antenna.
I tried a simpel XHTML from w3schools like:
<html>
<body>
The content of the body element is displayed in your browser.
</body>
</html>
If I use this in Antenna together with the xhtml2fo.xsl, I get the error
("XSLT transformation result is not valid XSL-FO"). This is the same error
I get with my complex xhtml-file.
So I never get to the second step.....
I also don't understand your remark that Antenna can't create PDF by
itself, but uses PDFWriter to do it.
My question is still: I need a simpel method to convert XML into PDF.
Greetings Rene
{ @ @ }
^
\__/
"You don't need eyes to see, you need vision!"
-----Oorspronkelijk bericht-----
Van: Tokushige Kobayashi [SMTP:koba@antenna.co.jp]
Verzonden: donderdag 7 juni 2001 12:12
Aan: xsl-list@lists.mulberrytech.com
Onderwerp: Re: [xsl] xml->xsl->pdf
This is self follow-up mail.
I am sorry I can't write English so well.
>
>I downloaded the Antenna XSL-formatter evaluation version and the
>Xhtml2fo.xsl, but I don't get it to work ("XSLT transformation is not
valid
>XSL-FO").
>I think I'm missing some basic steps here. I tried to use an arbitrary
>XML-file with this XSL, but that doesn't seem to be the right use.
>If I read the XSL right, it seems to need a kind of HTML-document.
>Can you give me some hints which steps to follow to convert an XML to PDF
>with Antenna or otherwise?
Xhtml2fo.xsl is an XSLT stylesheet that is to be used as follows.
(1) First step
* convert xhtml file, this must be an well-formed xml file with the
grammer defined by xhtml.dtd, to xsl-fo file.
Input: xhtml.html and xhtml2fo.xsl
Output: xhtml.fo (an XSL-FO instance)
Processor: XSLT Processor.
(2) Second step
* convert xhtml.fo to PDF
Input: xhtml.fo (an XSL-FO instance)
Output: xhtml.pdf (PDF file)
Processor: XSL-FO Processors
Antenna House XSL Formatter is an XSL FO Processor in it's nature.
It invokes MSXML3.DLL internally when XML and XSLT sytlesheets
are selected as input files.
Antenna House XSL Formatter can not create PDF file by itself,
but print PDF by deginating PDFWriter.
Tokushige Kobayashi
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list