RE: Text Node Question

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 UTC