|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Generating HTML pages from XSL:FO and XMLHi,
I have a XSL:FO file which is used to create PDF and it uses XML for data population. I want to know that is there any way to use the same XSL:FO file to create HTML pages. I need to have the HTML pages with same formatting as my PDFs have and I don't want to waste time creating new HTML pages. I have tried creating HTML using the FopFactory which I use for creating PDF but it takes MimeConstants as input and is not working for text/html MimeType. Any help would be highly appreciated. - Sonika |
|
|
Re: Generating HTML pages from XSL:FO and XML2008/8/26 sonika_nitj <sonika.janagill@...>: > > Hi, > > I have a XSL:FO file which is used to create PDF and it uses XML for data > population. I want to know that is there any way to use the same XSL:FO file > to create HTML pages. I need to have the HTML pages with same formatting as > my PDFs have and I don't want to waste time creating new HTML pages. The normal (most often?) used route is 'master' XML ->XSLT1->XSL-FO -> print ->XSLT2->HTML -> web Quite often the templates will be the same, but the output is quite different. It doesn't make much sense to try and use the xsl-fo for production of HTML. HTH -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk |
|
|
Re: Generating HTML pages from XSL:FO and XMLdavep> It doesn't make much sense to try and use the xsl-fo for davep> production of HTML. hmmmmm http://www.renderx.com/tools/fo2html.html David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________ |
|
|
Re: Generating HTML pages from XSL:FO and XML2008/8/26 David Carlisle <davidc@...>: > > > davep> It doesn't make much sense to try and use the xsl-fo for > davep> production of HTML. > > > hmmmmm > > http://www.renderx.com/tools/fo2html.html :-) I didn't say it couldn't be done.... just that is doesn't make much sense to me as a generality. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk |
|
|
Re: Generating HTML pages from XSL:FO and XMLThanks for your reply...
Actually I just wanted to check whether it is possible or not. Because in my project there are more then 100 XSL:FO files. Previously we were using XSL:FO files for showing the PDF (embedded in the web-pages of our application). But now client want to have HTML pages instead of PDF. So we have to create HTML pages from scratch. If it is possible then can you please tell any way about for this. Thanks in advance.
|
|
|
Re: Generating HTML pages from XSL:FO and XML> If it is possible then can you please tell any way about for this. > Thanks in advance. The link in the reply that you quoted will give you an XSLT stylesheet that converts xsl:fo files to xhtml. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________ |
|
|
Re: Generating HTML pages from XSL:FO and XMLThanks. I've run into this page before. It's a nice description, but I haven't been able to get a file out of it. Thanks, Jeff Griffith David Carlisle wrote: >> If it is possible then can you please tell any way about for this. >> Thanks in advance. > > The link in the reply that you quoted will give you an XSLT stylesheet > that converts xsl:fo files to xhtml. > > David > > ________________________________________________________________________ > The Numerical Algorithms Group Ltd is a company registered in England > and Wales with company number 1249803. The registered office is: > Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. > > This e-mail has been scanned for all viruses by Star. The service is > powered by MessageLabs. > ________________________________________________________________________ > |
|
|
Re: Generating HTML pages from XSL:FO and XML> Thanks. I've run into this page before. It's a nice description, > but I haven't been able to get a file out of it. Note I have no connection with the company, but if you go to the page I quoted, there is a download tab at the top, which leads to a form the last section of which is a "free tools" section in which there is a checkbox to ask for this file. I think I had the file a long time ago, but I don't think I have it now, but it probably works for a reasonable range of FO files.... David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________ |
|
|
Re: Generating HTML pages from XSL:FO and XMLI never looked in the form body, just on the page; there's a link back to the page you referenced near the bottom. You're right, about half way down the page (inside the form) is the check box. I sent the form, and received an email with a license file. I had go to a different page and upload the license, which displayed a fourth page where I could download the file. It's a rather byzantine process, but for those willing to persist, it works. Thanks, Jeff Griffith David Carlisle wrote: >> Thanks. I've run into this page before. It's a nice description, >> but I haven't been able to get a file out of it. > > Note I have no connection with the company, but if you go to the page I > quoted, there is a download tab at the top, which leads to a form > the last section of which is a "free tools" section in which there > is a checkbox to ask for this file. > > I think I had the file a long time ago, but I don't think I have it now, > but it probably works for a reasonable range of FO files.... > > David > > > ________________________________________________________________________ > The Numerical Algorithms Group Ltd is a company registered in England > and Wales with company number 1249803. The registered office is: > Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. > > This e-mail has been scanned for all viruses by Star. The service is > powered by MessageLabs. > ________________________________________________________________________ > |
|
|
Re: Generating HTML pages from XSL:FO and XMLI have got the XSL file but it is not doing any formatting. The code for formatting the fo:table tags is present there but still it is not even picking up the basic table formatting. Either I am missing something or this file can provide only basic text formatting.
|
|
|
Re: Generating HTML pages from XSL:FO and XML2008/8/27 sonika_nitj <sonika.janagill@...>: > > > I have got the XSL file but it is not doing any formatting. The code for > formatting the fo:table tags is present there but still it is not even > picking up the basic table formatting. Either I am missing something or this > file can provide only basic text formatting. > You will need to understand the XSLT, if you use the RenderX transform or if you write one yourself. A transform from your source XML to HTML might be easier to understand. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk |
|
|
Re: Generating HTML pages from XSL:FO and XMLHi David,
Thank you so much for your help. The file is working perfectly for me, although I need to modify the fo2html.xsl file as per my needs. Thanks again. ![]() Sonika You will need to understand the XSLT, if you use the RenderX transform or if you write one yourself. A transform from your source XML to HTML might be easier to understand. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk |
| Free embeddable forum powered by Nabble | Forum Help |