This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XML to plain text : which processor best to use ?
- From: "Paul Brown" <prb at fivesight dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 12 Jul 2002 11:42:01 -0400
- Subject: RE: [xsl] XML to plain text : which processor best to use ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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