Re: xml:space

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 UTC