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

Subject: Re: [xsl] Trimming (formatting-only) leading tabs/spaces from XSLT - issues?
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 08 Jun 2011 10:15:31 +0200
Hi Philip,

Not sure whether this makes sense for your use case, but when considering white space in XSLT, you should also consider that the XSLT can be used as input document for the same or other XSLT as well. This is not uncommon. And, of course, any XSLT can contain XML segments not related to XSLT which may fall under the same rules as normal XML when it comes to white space significance.

Keeping into consideration that the XSLT file should be treated as if it were any ordinary input XML (or worse, input text document, heaven forbid!) with all its quirks might make whitespace handling harder than it first seems when just looking at the XSLT itself.

Kind regards,

Abel Braaksma


On 7-6-2011 21:19, Philip Fearon wrote:
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.

Current Thread