Re: [PHP-DEV] DOM shortcuts

2007-10-24 Thread Keryx Web
Rob Richards skrev: > These would most certainly not make the standard. The first already exists in the form of textContent in Level 3 specs. The first one was not on my agenda. Sorry for my lack of clarity. > The second is a limited piece of functionality for creating content within an elem

Re: [PHP-DEV] DOM shortcuts

2007-10-24 Thread Lars Gunther
Rob Richards skrev: These would most certainly not make the standard. The first already exists in the form of textContent in Level 3 specs. The first one was not on my agenda. Sorry for my lack of clarity. The second is a limited piece of functionality for creating content within an element

Re: [PHP-DEV] DOM shortcuts

2007-10-24 Thread Rob Richards
Hi, Keryx Web wrote: 1. When using the shortcut DOMElement::nodeValue on an element node, where the standard says DOMElement::firstChild::nodeValue, is there any difference whatsoever between DOMElement::nodeValue and DOMElement::textContent? None whatsoever. nodeValue on an element was added fo

[PHP-DEV] DOM shortcuts

2007-10-24 Thread Keryx Web
Hi! I am trying to understand the internal workings of two PHP-additions to the DOM-functionality. 1. When using the shortcut DOMElement::nodeValue on an element node, where the standard says DOMElement::firstChild::nodeValue, is there any difference whatsoever between DOMElement::nodeValue an