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

RE: XML -> RTF via XSL

Subject: RE: XML -> RTF via XSL
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 16 Mar 2004 14:50:14 +0200
xsl output method text
Hi,

> I want to convert an XML file into RTF using XSLT (or any other
> transformation available).
> 
> I have output an XML file from the database system. At 
> present I have used a
> RTF containing a blank filled table as a template and 
> replaced bits of it
> with XSLT which populate the data parts from my XML. This works fine.
> 
> However in order that my export from the database is valid 
> and well formed I
> have escaped all the ampersands, quotes, apostrohies, and 
> angle bracket to
> &amp, &quot, etc.
> 
> Using Saxon I have found that the &quot and &apos get replaced with
> apostrophe and quote (which is great), but the brackets and 
> ampersands stay
> escaped. It would be better for me if this did not happen 

Use xsl:output method "text".

Cheers,

Jarno

 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.