W3C home > Mailing lists > Public > www-talk@w3.org > July to August 2003

Re: xml:space

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 7 Jul 2003 08:14:45 -0700 (PDT)
To: Sigurd Lerstad <sigler@bredband.no>
Cc: "www-talk@w3.org" <www-talk@w3.org>
Message-ID: <Pine.LNX.4.56.0307070814040.2646@dhalsim.dreamhost.com>

On Mon, 7 Jul 2003, Sigurd Lerstad wrote:
>
> <g>[white space]<ellipse/>[white space]</g>
>
> Does it depend on the xml:space attribute? (will it only create text nodes
> when set to preserve and not do it when set to default?)

As I understand it, xml:space="preserve" guarentees text nodes in the
above snippet, and xml:space="default" makes it UA-dependent.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 7 July 2003 11:14:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:28 GMT