xsl-list
[Top] [All Lists]

Re: CONVERT XSLT (HTML > XSL-FO)

2004-09-08 00:21:07
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(_dot_)sanwal(_at_)hp(_dot_)com]
Gesendet: Mittwoch, 8. September 2004 07:34
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_dot_)mazziotta(_at_)ulg(_dot_)ac(_dot_)be] 
Sent: Monday, September 06, 2004 2:57 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] CONVERT XSLT (HTML > XSL-FO)

Le lun 06/09/2004 à 09:36, Braumüller, Hans a écrit :
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



--+------------------------------------------------------------------
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>
--+--



<Prev in Thread] Current Thread [Next in Thread>