]> granicus.if.org Git - php/commitdiff
use common structures from php_libxml.h
authorRob Richards <rrichards@php.net>
Sun, 26 Oct 2003 15:57:31 +0000 (15:57 +0000)
committerRob Richards <rrichards@php.net>
Sun, 26 Oct 2003 15:57:31 +0000 (15:57 +0000)
ext/xsl/xsltprocessor.c

index 94e0c939b11ded6cf1914105e65a364cb2cf2df8..89dc4c4e046b60e7f67d92863c1634a4736b3214 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "php.h"
 #include "php_xsl.h"
-
+#include "ext/libxml/php_libxml.h"
 
 /*
 * class xsl_xsltprocessor 
@@ -127,7 +127,7 @@ PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet)
        xmlDoc *doc = NULL, *newdoc = NULL;
        xsltStylesheetPtr sheetp, oldsheetp;
        xsl_object *intern;
-       node_object *docobj;
+       php_libxml_node_object *docobj;
        int prevSubstValue, prevExtDtdValue;
        
        DOM_GET_THIS(id);
@@ -183,7 +183,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_doc)
        int ret, clone = 0;
        char **params = NULL;
        xsl_object *intern;
-       node_object *docobj;
+       php_libxml_node_object *docobj;
        
        id = getThis();
        intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);
@@ -231,7 +231,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_uri)
        int ret, uri_len, clone = 0;
        char **params = NULL, *uri;
        xsl_object *intern;
-       node_object *docobj;
+       php_libxml_node_object *docobj;
        
        id = getThis();
        intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);
@@ -285,7 +285,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_xml)
        int doc_txt_len;
        char **params = NULL;
        xsl_object *intern;
-       node_object *docobj;
+       php_libxml_node_object *docobj;
        
        id = getThis();
        intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);