ID: 20669 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: Windows PHP Version: 4.2.3 New Comment:
DomDocument->create_element_ns will only be available since PHP 4.3. Download it from http://snaps.php.net/ or wait until it is officially released chregu Previous Comments: ------------------------------------------------------------------------ [2002-11-27 03:00:40] [EMAIL PROTECTED] Using; libxml Version 2.4.21 HTML Support enabled XPath Support enabled XPointer Support enabled The following results in "call to undefined function"; <?php $dom=domxml_new_doc('1.0'); $root=$dom->create_element_ns('http://www.php.net','domxml','php'); $root=$dom->append_child($root); ?> Using create_element though causes no problems; <?php $dom=domxml_new_doc('1.0'); $root=$dom->create_element('domxml'); $root=$dom->append_child($root); ?> [Looked hard but found no other bug listed with reference to create_element_ns in the DOM extension] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20669&edit=1