[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xml -> rtf
If you insist on sticking with XSLT for this (even tbough it is probably poorly suited for this particular task), you could use it to create an XML version of RTF...i.e. <rtf> ... </rtf> instead of {\rtf ... } Then serialize the result and pass it to a simple SAX processor that will convert the XML tags to curly braces and backslashes. Note, however, that RTF is very verbose and you will probably run into memory and performance problems. You might be better off doing the whole thing as a streaming SAX or OmniMark program instead. Rick Geimer National Semiconductor rick.geimer@xxxxxxx "Johnson, Matthew C. (LNG-MBC)" wrote: > > Hello, > > Can anyone suggest a method of converting XML data to RTF (that can then be > read into MS Word)? I would prefer to do this using XSL/XSLT but I cannot > find an engine that will do the actual translation to RTF. I have found > Jade and DSSSL but, again, I would prefer to stick with XSL, if possible. > Any help is appreciated. Thanks! > > Matt > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|