[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] XML to plain text : which processor best to use ?


Subject: RE: [xsl] XML to plain text : which processor best to use ?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 12 Jul 2002 18:14:33 +0100

> I need to transform XML documents into plain text documents 
> using XLST, as part of a Java project. Usually I use Xalan 
> for XML --> XML transformations in java evironment, but this 
> time not only I will transform XML into text but also I need 
> to be able to manage perfectly blank spaces and carriage 
> returns. So I was wondering which processor to choose (Xalan, 
> XT, others...) for doing this, with eventually some special 
> extensions (OutputHandler ?) for managing correctly carriage 
> returns and blank spaces. It seems that most processors does 
> not handle carriage returns very well without extensions...

You can produce any standard XML character in the output without
recourse to extensions. You will only need extensions to produce non-XML
characters, e.g. C0 control characters. All the Java processors provide
rather similar mechanisms for achieving this.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml