]> granicus.if.org Git - php/commitdiff
MFB - This isn't a DOM thing anymore, just libxml
authorRasmus Lerdorf <rasmus@php.net>
Sat, 5 Nov 2005 22:41:09 +0000 (22:41 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 5 Nov 2005 22:41:09 +0000 (22:41 +0000)
ext/simplexml/simplexml.c

index 67204e2fd1d5a17a34051c9538ecd782c888174b..977e793f4c82338f439b7aef36cf1fccbc89a576 100644 (file)
@@ -1189,6 +1189,7 @@ static void sxe_add_registered_namespaces(php_sxe_object *sxe, xmlNodePtr node,
                }
        }
 }
+/* }}} */
 
 /* {{{ proto string SimpleXMLElement::getDocNamespaces([bool recursive])
    Return all namespaces registered with document */
@@ -1865,7 +1866,6 @@ void *simplexml_export_node(zval *object TSRMLS_DC)
        return php_sxe_get_first_node(sxe, node TSRMLS_CC);     
 }
 
-#ifdef HAVE_DOM
 /* {{{ proto simplemxml_element simplexml_import_dom(domNode node [, string class_name])
    Get a simplexml_element object from dom to allow for processing */
 PHP_FUNCTION(simplexml_import_dom)
@@ -1918,14 +1918,11 @@ PHP_FUNCTION(simplexml_import_dom)
        }
 }
 /* }}} */
-#endif
 
 function_entry simplexml_functions[] = {
        PHP_FE(simplexml_load_file, NULL)
        PHP_FE(simplexml_load_string, NULL)
-#ifdef HAVE_DOM
        PHP_FE(simplexml_import_dom, NULL)
-#endif
        {NULL, NULL, NULL}
 };