[whatwg] Still more comments and questions on Web Apps 1.0
giecrilj at stegny.2a.pl
Sat Jun 9 02:38:03 PDT 2007
At least, MSXML does not preserve white space even where mixed content is
allowed. I get <span >a</span ><span >b</span > when I XSLT <span >a</span
> <span >b</span >. I have to type for all standalone spaces.
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Anne van Kesteren
Sent: Saturday, June 09, 2007 11:26 AM
To: Michel Fortin; Ian Hickson
Cc: Henri Sivonen; whatwg List
Subject: Re: [whatwg] Still more comments and questions on Web Apps 1.0
On Sat, 09 Jun 2007 04:49:56 +0200, Michel Fortin
<michel.fortin at michelf.com> wrote:
> I'd agree they're mostly useless in a browser context, but when reading
> HTML with the intent of reserializing it later, preserving the
> whitespace around the document type declaration, the comments and the
> root element can be beneficial for the readability of the final output.
> I'd keep them there, just like XML does.
I don't think XML does that, actually.
Anne van Kesteren
More information about the whatwg