ID: 20637 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: Mac OS X 10.2.2 PHP Version: 4CVS-2002-11-26 (stable) New Comment:
The code from 17629 works fine for me. You have to set the right DTD for ID to work, as there is no ID attribute by default in XML... chregu Previous Comments: ------------------------------------------------------------------------ [2002-11-26 01:47:53] [EMAIL PROTECTED] DomDocument->get_element_by_id() doesn't work again. This appears to be the same problem as bugs #16647 and 17629. Test program is the sample in 16647. This on Mac OS X 10.2.2 with PHP 4.3.0-dev built from php4-STABLE-200211252030 snapshot and libxml 2.4.28, all built from source this afternoon. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20637&edit=1