RE: [xsl] Whitespace between nodes

Subject: RE: [xsl] Whitespace between nodes
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Wed, 12 May 2004 22:33:29 +0200
> -----Original Message-----
> From: Nicholas Shanks [mailto:contact@xxxxxxxxxxxxxx]

Hi,

> Is there a way to force a processor not to output space between nodes
> (I have indent="yes" in my xsl:output)?
>

It should be sufficient to remove indent="yes". It should only be used when
the result file is meant to be read by humans (--or some form of parser or
script that actually expects the indentation?). Using it can be quite a
nuisance when the result of the transform is used in a pipeline, for another
example XML+XSL->(FO->)PDF.


Greetz,

Andreas

Current Thread