[whatwg] xml:space

liorean liorean at gmail.com
Tue Jan 23 13:48:38 PST 2007

On 1/23/07, Henri Sivonen <hsivonen at iki.fi> wrote:
> On Jan 23, 2007, at 17:45, liorean wrote:
> > Well, considering the purpose of XHTML (main purpose is presentation
> > for humans, no?) is there any reason to NOT just set it to default to
> > "preserve" on the html element, fixed to "preserve" on the script,
> > style, pre and textarea elements and have it implied through an entity
> > for all other elements?
> Since this is about generic XML tools, XHTML-specific rules don't help.

How doesn't it? If the DTD allows it on all elements, you can put
xml:space="preserve" on all elements in the document that need it for
the tools that don't use the external subset or namespace recognition
David "liorean" Andersson

More information about the whatwg mailing list