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

Re: xml:space

From: Sigurd Lerstad <sigler@bredband.no>
Date: Mon, 7 Jul 2003 17:45:38 +0200
Message-ID: <081a01c3449e$d084c6f0$6f1273d5@mmstudio>
To: "Ian Hickson" <ian@hixie.ch>
Cc: <www-talk@w3.org>

Will such text nodes return true for the following DOM Text method?

isWhitespaceInElementContent() introduced in DOM Level 3

thanks,

--
Sigurd Lerstad

> > <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:44:56 GMT

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