xsl-list
[Top] [All Lists]

RE: transforming xml to text with formatting

2004-08-03 13:39:16
"Text", as we normally think of it (ASCII), does not have italic or bold 
attributes (or font or size attributes, for that). It's just text: A,b,1,(,* .

Rich Text Format (RTF) may suit your purposes. It is found as an alternate 
format for most Microsoft application files (e.g., Word, Excel, WordPad). Here 
is a URL for the 1.5 spec (http://www.biblioscape.com/rtf15_spec.htm). Here is 
a URL for the 1.6 spec 
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/RTFSpec_1.asp).
 

You can transform XML directly into RTF or you could go through an intermediate 
XML format like XSL-FO. You may find this book to be useful, I did 
(http://www.oreilly.com/catalog/rtfpg/index.html).
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     SnHndrc(_at_)aol(_dot_)com
Sent:     Tue, 03 Aug 2004 15:04:36 -0400
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  [xsl] transforming xml to text with formatting

This will be a simple one, I am sure, for most of you. However, I am trying to 
transform xml to text with formatting such as bold, indent, italics, line 
breaks etc.

Could you tell me what I would need to do this (including an online tutorial, 
books etc.).

Much appreciated.



--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--