Subject: RE: XML to plain text : which processor best to use ?
From: "Paul Brown" <prb@xxxxxxxxxxxxx>
Date: Fri, 12 Jul 2002 11:42:01 -0400
|
> 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
|