ID: 15938 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: All PHP Version: 4.1.2 -Assigned To: +Assigned To: jtate New Comment:
Assigning it to me. Previous Comments: ------------------------------------------------------------------------ [2002-03-07 14:45:05] [EMAIL PROTECTED] The standard DOM implementation at the w3c web page: http://www.w3.org/TR/1999/CR-DOM-Level-2-19991210/core.html#ID-1950641247 lists that each DOM node has a nodeName and nodeValue property along with an attributes list. This needs to be reflected in the PHP DOMXML implementation so as to make iterating through the DOM object easier, and not require large switch statements to, as the w3c paper puts it, "[cast] down to the specific derived interface" to retrieve data. It is partially implemented with the name and tag_name attributes, but it is incomplete and inconsistant. This will require quite a bit of rewrite to implement, but it is worthwhile. I'll work on this, but I'm filing this so that it doesn't get forgotten. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15938&edit=1