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

RE: [xsl] xmllint -format, xsltproc and CDATA section


Subject: RE: [xsl] xmllint -format, xsltproc and CDATA section
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 28 Aug 2003 23:37:58 +0100

> Your book talks about canonical documents, and what I want is 
> a tool that indents a document without changing its 
> semantics. Is there no such tool by definition?

If your document design is such that whitespace in certain places is
defined to be insignificant, and your applications respect this by
ignoring whitespace in those positions, then you can safely use an
indenter that adds whitespace in those positions. If it isn't, you
can't.

Michael Kay


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



Current Thread