[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Conversion from xsl to xsl:fo

Subject: Re: Conversion from xsl to xsl:fo
From: Max Froumentin <mf@xxxxxx>
Date: Wed, 24 Oct 2001 11:07:29 +0200
conversion xsl xsl fo
You wrote:

> Is there any tool that can simplify the conversion of an XSL meant to
> output html, to a PDF outputting xsl:fo that would closely duplicate
> the look and feel of the html output of the original xsl?

Some time ago I started writing a stylesheet [1] that will transform
an XHTML document to XSL-FO for the HTML working group.  It is largely
incomplete but could serve as a basis for your work.

It supports the default rendering of XHTML, as defined by Steven
Pemberton's CSS stylesheet for XHTML, but does not do CSS at all.

I thought of writing a stylesheet that will convert an XSLT stylesheet
that produces an XHTML document to an XSLT stylesheet that produces FO
(i.e. an XSL stylesheet) but I found it hard or not really possible to
do. I don't remember why.

Let me know if this helps. And I'm interested to know if you correct
it or make it better.

[1] http://www.w3.org/2001/08/01-XHTML-XSL/html.xsl

Sample XHTML document: http://www.w3.org/2001/08/01-XHTML-XSL/xhtml11.html
Result PDF: http://www.w3.org/2001/08/01-XHTML-XSL/xhtml11.pdf

Max.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.