Search the web
Sign In
New User? Sign Up
xml-doc · Applying XML to technical documentation

Group Information

  • Members: 1408
  • Category: XML
  • Founded: Jun 28, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
need to generate RTF   Message List  
Reply Message #377 of 6185 |
Re: [xml-doc] need to generate RTF


Hi Nick,

On Mit, 13 Sep 2000, you wrote:
> I need to come up with a way to generate documents that end users can edit
> in their word processors (Word, WordPro, etc.). Looks like that means RTF.
> My data is or will be in XML format. Having zero experience with RTF, I'm
> looking for advice on whether to:

> (3) some other approach??? I was hoping to learn XSL/FO, but so far I have
> only heard of PDF output (via FOP), not RTF.

We have a solution that is working with XSL:FO to produce RTF documents from
XML input. This stylesheet produced the correct output for all of our test
cases. The only thing you have to have installed is an XSLT processor (Xalan or
something else) and you have to write an XSL that produces correct XSL:FO from
your XML input sources. You can use the examples which come with the FOP
package to test the FO2RTF stylesheet.

If you are or anybody else is interested in this stylesheet point your browser
to:


http://www.smb-tec.com/cgi-bin/cvsweb.cgi/infozone/prowler/src/org/infozone/ui/f\
ormatter/rtf


There you will find 2 solutions:

1. fop2rtf.xsl: a very simple stylesheet that ignores colors and complex
layouts _but_ produces the RTF in only step

2. fop2itm.xsl and itm2.rtf.xsl: the first stylesheet produces an
intermediate format which is used to enrich with color information in
the second step

Hope this helps a little bit,
Lars
--
___________________________________________________________________
Lars Martin mailto:lars@...
SMB GmbH http://www.smb-tec.com




Wed Sep 13, 2000 7:54 am

lars@...
Send Email Send Email

Message #377 of 6185 |
Expand Messages Author Sort by Date

Hi, I need to come up with a way to generate documents that end users can edit in their word processors (Word, WordPro, etc.). Looks like that means RTF. My...
costempd@... Send Email Sep 12, 2000
10:58 pm

Hi Nick, ... We have a solution that is working with XSL:FO to produce RTF documents from XML input. This stylesheet produced the correct output for all of our...
Lars Martin
lars@... Send Email
Sep 13, 2000
8:05 am

Lars, Wow, I'm excited. Thank you! Unfortunately, when I try to download your XSLs I get a "404 Not Found" error: The requested URL ...
costempd@... Send Email Sep 14, 2000
2:20 pm

the layout of the message gave you the error. when you copy it, get rid of the line feed and tab. The end of the link should be ...
Kenneth Hopkins
ken.hopkins@... Send Email
Jul 27, 2001
9:23 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help