Subject: Re: [xsl] CONVERT XSLT (HTML > XSL-FO) From: Braumüller, Hans <H.Braumueller@xxxxxxxxxxxx> Date: Wed, 8 Sep 2004 09:21:07 +0200 |
Hello, thanks, it seems a good starting point. I will try it, but i am getting to the conclusion, that doing a second set for xsl-fo from the scratch will be involved more time but will be more easy to perform at least for me. By the way i am looking for a working example how to to do the java servlet for Fop with a dynamic xml-source coming as a string then outputting as a stream. I am not a experienced java developer, so i got problems by adapting the FopServlet.java example from apache. Ecxuse, this off-topic request for help. Greetings from Hamburg, Germany Hans Braum|ller -----Urspr|ngliche Nachricht----- Von: SANWAL, ABHISHEK (HP-Houston) [mailto:abhishek.sanwal@xxxxxx] Gesendet: Mittwoch, 8. September 2004 07:34 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: RE: [xsl] CONVERT XSLT (HTML > XSL-FO) True. But I tried doing the same a while back and realized that FO has its own little quirks that need to be understood if you are to produce reliable output. Mixing or auto converting is purely painful and I believe you should look up Doug Tidwells - HTML to Formatting Objects (FO) conversion guide http://www-106.ibm.com/developerworks/library/x-xslfo2app/ It helped me a lot :) ____________________________________________________________ Abhishek Sanwal HP - Houston Campus ............................................................................ -----Original Message----- From: Nicolas Mazziotta [mailto:nicolas.mazziotta@xxxxxxxxx] Sent: Monday, September 06, 2004 2:57 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] CONVERT XSLT (HTML > XSL-FO) Le lun 06/09/2004 ` 09:36, Braum|ller, Hans a icrit : > My question is, if there are some tool, to transform the xslt-stylesheets which are outputting HTML to a set which shall output pdf by xsl-fo, > like converting all specific tags for html to formatting objects routines, for example > > <body> to <fo:region-body/> > Hi, Since xslt-stylesheets are valid xml, it is possible to transform them with another xslt-stylesheet (use of <xsl:copy-of/> can help to keep elements from xsl namespace intact). Hope it helps. -- Nicolas Mazziotta
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] CONVERT XSLT (HTML > XSL-, SANWAL, ABHISHEK (HP | Thread | [xsl] how to generate a xsl from 2 , Dario Di Minno |
RE: [xsl] invoking template for oth, Jarno.Elovirta | Date | RE: [xsl] xsl needed: sibilings wit, Michael Kay |
Month |