Subject: RE: [xsl] Combining HTML/FO StyleSheets ( Indirection/Abstraction Methods) - Non-Trivial From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 04 Mar 2002 14:17:06 -0500 |
Cheers, Wendell
> After slaving way at the problem I'll discuss below and > coming up with > several non-working solutions, I was wondering "Do people create > intermediate markup languages to ease the generation of both HTML and > FO?" By this I mean do people generate and intermediate format (XML) > which has all of the complex processing completed, and then have > trivial conversion style sheets from that format to HTML or XSL:FO as > appropriate? ((Example: intermediate tag like <paragraph> -> <p> or > <fo:block> depending on the desired output format))
Let's say I have report_html.xsl, report_fo.xsl and report_csv.xsl. One partial solution I developed was to write a stylesheet that transformed the report_html.xsl into report_fo.xsl. However, this was only a partial solution because I still needed to tweak the individual files as HTML doesn't require <fo:table-column> elements.
With hindsight, one thing I would have changed is writing the report_fo.xsl first as this is more detailed, and then writing the stylesheet to transform it to report_html.xsl. In one sense, this is using XSL-FO as the intermediary format you mentioned. With the XSL-FO you can either generate the PDF, or generate the HTML.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: RE: [xsl] URGENT!!PROG-TIME, William Rutford | Thread | [xsl] Problems with form tag in jav, Rochester, Dean |
[xsl] URGENT!!PROG-TIME, William Rutford | Date | Re: [xsl] Output: XML to XML scramb, Mike Ferrando |
Month |