xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Pu <leon_xf...@yahoo.com.cn>
Subject Re: Convert HTML to PostScript or PDF
Date Wed, 02 Nov 2005 05:16:50 GMT
So, is it possible to use one stylesheet to transform XML to both HTML
and PDF?

Leon

--- Glen Mazza <gmazza@apache.org> wrote:

> Yes, that is standard--Docbook does that (maintains two separate 
> stylesheets for HTML and FO.)
> 
> Glen
> 
> JBryant@s-s-t.com escribió:
> > Your best bet is to use XSLT to go from your source XML to XSL:FO
> and skip 
> > trying to convert HTML into XSL:FO.
> > 
> > Jay Bryant
> > Bryant Communication Services
> > (presently consulting at Synergistic Solution Technologies)
> > 
> > 
> > 
> > 
> > Leon Pu <leon_xf_pu@yahoo.com.cn> 
> > 11/01/2005 11:08 AM
> > Please respond to
> > fop-users@xmlgraphics.apache.org
> > 
> > 
> > To
> > fop-users@xmlgraphics.apache.org
> > cc
> > 
> > Subject
> > Re: Convert HTML to PostScript or PDF
> > 
> > 
> > 
> > 
> > 
> > 
> > My HTML's source is XML, I use Xalan to transform XML to HTML. Is
> the
> > result HTML ok for FOP? Or there is other shortcut to generate
> > PostScript or PDF from XML directly?
> > 
> > Thanks for your reply.
> > 
> > 
> > Best regards,
> > Leon
> > 
> > --- Glen Mazza <gmazza@apache.org> wrote:
> > 
> > 
> >>This article may be of help:
> >>http://www-128.ibm.com/developerworks/library/x-xslfo2app/
> >>
> >>Glen
> >>
> >>Jimmy Dixon wrote:
> >>
> >>>no - you would need to have your HTML in XHTML format so you can
> >>
> >>convert 
> >>
> >>>it to XSL-FO using XSLT, FOP can then be used to convert XSL-FO to
> >>
> >>PDF 
> >>
> >>>or (I think) Postscript.
> >>>
> >>>Leon Pu wrote:
> >>>
> >>>
> >>>>Hi all,
> >>>>
> >>>>is it possible to use FOP to convert a HTML file to PostScript or
> >>
> >>PDF?
> >>
> >>>>
> >>>>Best regards,
> >>>>Leon
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>__________________________________ Yahoo! Mail - PC Magazine
> >>
> >>Editors' 
> >>
> >>>>Choice 2005 http://mail.yahoo.com
> >>>>
> >>>>
> >>
>
>>---------------------------------------------------------------------
> >>
> >>>>To unsubscribe, e-mail:
> >>
> >>fop-users-unsubscribe@xmlgraphics.apache.org
> >>
> >>>>For additional commands, e-mail:
> >>
> >>fop-users-help@xmlgraphics.apache.org
> >>
> >>>>
> >>>>
> >>>>
> >>>>
>
>>---------------------------------------------------------------------
> >>To unsubscribe, e-mail:
> fop-users-unsubscribe@xmlgraphics.apache.org
> >>For additional commands, e-mail:
> >>fop-users-help@xmlgraphics.apache.org
> >>
> >>
> > 
> > 
> > 
> > 
> >  
> >  
> > __________________________________ 
> > Yahoo! Mail - PC Magazine Editors' Choice 2005 
> > http://mail.yahoo.com
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail:
> fop-users-help@xmlgraphics.apache.org
> > 
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail:
> fop-users-help@xmlgraphics.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail:
> fop-users-help@xmlgraphics.apache.org
> 
> 



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message