Re: (dsssl) identity transforms in Jade

Subject: Re: (dsssl) identity transforms in Jade
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Tue, 10 Jul 2001 03:43:11 -0700
Hi, Karl.

At 13:53 9-07-2001, Karl Critz wrote:
I am looking for a way to style my XML documents into RTF.
I am using XSL


as my transform language. There is no RTF XSL-FO backend that I know of, so I was thinking that I could produce a .fo file from my XSLT engine, send that file to OpenJade, then use an identity transform. Messy, but theoretically effective.

  file.xml -> [xslt] -> -> [jade] -> file.rtf
                 ^                    ^
              style.xsl             identity.dsl

I did some digging on the DSSSList and discovered some discussion of identity transforms. Everyone seemed to agree that it would be nice to have one, but one was never written.

The only alternative I can see is maintaining separate stylesheets and sending my XML file straight to Jade with style.dsl. I would strongly prefer not to maintain stylesheets in dsssl and xsl.

* Does my approach seem reasonable?
* Have I missed any alternatives?
* Is there such an identity transform out there?
* If not, how difficult would it be to write one?

What exactly do you mean by "a .fo file" here? If you mean an XSL Formatting Objects file, then I don't think an identity transformation is going to help you (unless Jade added XSL support while I wasn't looking). What you need is a stylesheet for formatting objects that formats them as DSSSL flow objects. That's not going to be trivial for full support, since there are a few differences in the formatting model, but for your particular documents, you should probably be OK.

However, I have to wonder why you can't just write a DSSSL stylesheet for your XML. Are you planning to use full XSL at some later date?

Christopher R. Maden, XML Consultant
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA

DSSSList info and archive:

Current Thread