Does "same as nodeName for elements" sound better?

Dylan Schiemann wrote:
> Fabian,
> 
> One suggestion: As you know, tagName only returns the
> same value as nodeValue does for elements... nodeValue
> returns text for a textNode, whereas tagName would
> return null.  Event though these are descriptions for
> elements, I think this could lead some readers to
> believe that they always return the same value.
> 
> -Dylan
> 

> 



Reply via email to