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

Re: xml -> rtf

Subject: Re: xml -> rtf
From: Joe English <jenglish@xxxxxxxxxxxxx>
Date: Sat, 02 Sep 2000 11:09:59 -0700
xslt xml to rtf
Matthew Johnson wrote:
>
> Sorry, I didn't put all of the background of my requirements in my original
> posting.  My real requirement is to return a .doc file from XML by means of
> an automated process.  I am looking at using RTF as an intermediary step.
> So, while opening HTML in Word would work as a manual process, it won't work
> for "lights out" processing.

It depends on what you want to do with the final .doc file,
and what the source document type looks like.

OpenJade can give you nicely formatted output (well,
as nicely-formatted as is possible in Word anyway :-),
but the result probably won't be suitable for further
editing by human beings since Jade's RTF backend doesn't
produce any stylesheet information.

The XML--(XSLT)-->HTML--(Word)-->.DOC route may preserve
a bit more of the source document's structure, limited
to what's expressible in the dialect of HTML that Word
understands.

The XML--(XSLT)-->RTF route will be excruciatingly painful
to implement for all but the simplest formatting requirements.

You should take a look at RATFINK [1] and see if that will
be useful for your application.  RATFINK is a Tcl library
for generating RTF; if you're comfortable with Tcl then
some combination of XSLT, Cost [2] and/or TclXML [3],
and RATFINK is what I'd recommend.


--Joe English

  jenglish@xxxxxxxxxxxxx

[1] RATFINK:	<URL: http://www.flightlab.com/~joe/cost/ratfink/>
[2] Cost:	<URL: http://www.flightlab.com/~joe/cost/ >
[3] TclXML:	<URL: http://www.zveno.com/zm.cgi/in-tclxml/ >


 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.