Re: Divergence from DOM standard
| From: | Rob Richards | Date: | Wed, 10 May 2006 09:21:06 +0000 |
| Subject: | Re: Divergence from DOM standard | ||
| References: | 1 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-578@lists.php.net to get a copy of this message | ||
Jirka Kosek wrote:
Hi, nodeValue property called on DOMNode should return node value. However to me it seems that this property returns text content of all descendants, similarly to textContent property. Is there any justification for this divergence from DOM standard? The only difference here is working with a DOMElement. Per specs it should return NULL but for convenience it returns all text content of all descendants.Rob