xsl-list
[Top] [All Lists]

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

2011-06-07 14:19:13
On Tue, Jun 7, 2011 at 7:46 PM, Wendell Piez 
<wapiez(_at_)mulberrytech(_dot_)com> 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
http://qutoric.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--