[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xml->xsl->pdf (using Antenna)
Hello! > 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> Please change your file as follows. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <body> <p>The content of the body element is displayed in your browser. </p> </body> </html> The formatter would display the result. > > I also don't understand your remark that Antenna can't create PDF by > itself, but uses PDFWriter to do it. Antenna House XSL Formatter needs Windows printer driver to print out formatted result. Best Regards, Tokushige Kobayashi > > -----Oorspronkelijk bericht----- > Van: Tokushige Kobayashi [SMTP:koba@xxxxxxxxxxxxx] > Verzonden: donderdag 7 juni 2001 12:12 > Aan: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Onderwerp: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|