W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1999

RE: Text Node Question

From: Cathi Davey <cathi@digicool.com>
Date: Tue, 10 Aug 1999 17:35:23 -0400
Message-ID: <613145F79272D211914B0020AFF64019198313@gandalf.digicool.com>
To: Cathi Davey <cathi@digicool.com>, "'www-dom@w3.org'" <www-dom@w3.org>
Nevermind.  If this is right no need to respond.  

Text nodes inherit from CharacterData and CharacterData inherits from
Node so it should be able to support all methods on the node interface.
So it should return an empty nodelist.
  

> -----Original Message-----
> From: Cathi Davey [mailto:cathi@digicool.com]
> Sent: Tuesday, August 10, 1999 5:14 PM
> To: 'www-dom@w3.org'
> Subject: Text Node Question
> 
> 
> Hello.  
> 
> I know text nodes can't have children, but can you call 
> getChildNodes()
> on it?  If you can, what does it return?  an empty nodelist? None?  
> 
> Thanks,
> 
> Cathi
> 
Received on Tuesday, 10 August 1999 17:30:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT