[SimpleXML] API not exposed for other extensions?
| From: | Nabeel | Date: | Tue, 18 Apr 2006 07:21:45 +0000 |
| Subject: | [SimpleXML] API not exposed for other extensions? | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-3706@lists.php.net to get a copy of this message | ||
I am simply delighted by the ease of traversing xml using SimpleXML. I want to provide this convenience to axis2 users.
My requirement is to provide SimpleXMLElement in-out methods to invoke web services using axis2 extension. But I have encountered some problems. (I was able to provide DOM in-out methods through Axis2 extension)
To achieve this the following is required.
1. Expose php_simplexml.h to other extensions (i.e. change config.m4 to put /ext/simplexml/php_simplexml.h)
2. Provide a create method (php_sxe_create_object) which would take xmlNodePtr, class entry and other relevant paramenters and return an zval object of type SimpleXMLElement.
I would greatly appreciate if one of the authors of SimpleXML can provide this. DOM extension provides this facility.
Thanks
-Nabeel