|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: CONVERT XSLT (HTML > XSL-FO)
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: 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: 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
|
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
|

Cart








