Re: [xsl] Trimming (formatting-only) leading tabs/spaces from XSLT - issues?

Subject: Re: [xsl] Trimming (formatting-only) leading tabs/spaces from XSLT - issues?
From: Philip Fearon <pgfearo@xxxxxxxxxxxxxx>
Date: Tue, 7 Jun 2011 20:19:00 +0100
On Tue, Jun 7, 2011 at 7:46 PM, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:

> Fortunately, the XSLT specs are clear on this point: whitespace-only text
> nodes in a stylesheet have no semantics that an XSLT processor is bound to
> respect, outside xsl:text, while it is bound to respect any whitespace mixed
> with non-whitespace text.
> Because whitespace-only text nodes outside xsl:text can have no significance
> in a stylesheet as processed, the law of parsimony argues that an editing
> application might similarly be allowed to do with them what it will (or do
> away with them as the case may be).

So, this makes things manageable so far as XSLT processing is
concerned, but the other points on interoperability with systems,
working practices and general acceptance are challenges which will be
interesting to explore further.

Many thanks

Phil Fearon

Current Thread