So, is it possible to use one stylesheet to transform XML to both HTML and PDF?
Leon --- Glen Mazza <[EMAIL PROTECTED]> wrote: > Yes, that is standard--Docbook does that (maintains two separate > stylesheets for HTML and FO.) > > Glen > > [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> > > 11/01/2005 11:08 AM > > Please respond to > > [email protected] > > > > > > To > > [email protected] > > 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 <[EMAIL PROTECTED]> 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: > >> > >>[EMAIL PROTECTED] > >> > >>>>For additional commands, e-mail: > >> > >>[EMAIL PROTECTED] > >> > >>>> > >>>> > >>>> > >>>> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: > [EMAIL PROTECTED] > >>For additional commands, e-mail: > >>[EMAIL PROTECTED] > >> > >> > > > > > > > > > > > > > > __________________________________ > > Yahoo! Mail - PC Magazine Editors' Choice 2005 > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
