This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: XML to plain text : which processor best to use ?


> I need to transform XML documents into plain text documents 
> using XLST, as part of a Java project.

You can (partially) control the behavior of whitespace in XSLT using the xsl:preserve-space and xsl:strip-space elements, but that's the tip of the iceberg.

There was a good series of articles on XML.com:

http://www.xml.com/pub/a/2001/11/07/whitespace.html
http://www.xml.com/pub/a/2001/12/05/whitespace.html
http://www.xml.com/pub/a/2002/01/02/whitespace.html

You can also write your own serializer in Java if you need still more control.

	-- Paul

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]