Re: [xsl] XML to FrameMaker MIF via XSLT

Subject: Re: [xsl] XML to FrameMaker MIF via XSLT
From: Bertrand Delacretaz <bdelacretaz@xxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2002 08:52:31 +0100
On Sunday 17 February 2002 02:09, Rick Quatro wrote:

> My goal is to transform XML to FrameMaker's MIF
> format using XSL stylesheets. MIF is not XML so I assume I will have
> to use "text" output. 

Hi Rick,

Sorry I'm not answering your question directly, but rather asking more 
questions ;-)

I think what would really be useful and reusable would be an XSLT 
transform (+java extensions maybe) that goes from an "XMLization" of 
the MIF format to the actual format, say converting something like

<mif:document template="someMifTemplate.mif">
  <mif:para style="someMifStyle">
    This is some XML<mif:emdash/>generated MIF document

to MIF.

Such a general XML-to-MIF transform would be very useful if integrated 
in a publishing framework like Cocoon (, to 
generate MIF documents on the fly.

At a company that I work we have developed a simple MIF library in 
java, that writes MIF documents based on a simple java API. We could 
probably donate this code to an Apache project if you'd like to build 
on it, might be easier than writing all MIF constructs in XSLT.

Note also that FOP (XSL-FO to PDF converter, has a 
MIF renderer, but AFAIK it's not really usable as it stands.

Hope this helps!

 -- Bertrand Delacrétaz,
 -- web technologies consultant - OO, Java, XML, C++

 XSL-List info and archive:

Current Thread