[PHP-DEV] DOM XML: xmlReplaceNode()
Hi, What do you think about adding a function domxml_node_replace_node(), that would be a wrapper for xmlReplaceNode() function from libxml? As far as I am concerned, there is no easy way to replace a node using existing functions without rewriting the whole document tree. Regards, Jarek Kolakowski P.S. CC to me, please. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/domxml config.m4 php_domxml.c php_domxml.h
Just to be really picky, but shouldn't these functions be named html_doc(), html_doc_file() and domxml_html_dump_mem() ? I understand that we already have xmldoc(), xmldocfile(), xmltree() and even domxml_dumpmem(), but I still think we should stick we the coding standards. It is an extra good thing that this extensions is still experimental so we don't have to worry about BC that much. Am I totally off base here ? +1 here. OK. I will change it. And what about changing names of xmldoc(), xmldocfile(), xmltree() and domxml_dumpmem() then? If the code is experimental, it would be only naughty, but not forbidden. Jarek -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/domxml config.m4 php_domxml.c php_domxml.h
- Added preliminary DOM XSLT support: -- uses the libxslt library, -- operates on DOM objects, not strings, -- functions: domxml_xslt_process(), domxml_xslt_version(). Please don't put this into ext/domxml, but implement it as a backend for ext/xslt. I think, the idea here was to use domxml-objects for feeding a xsl-processor without the need for a transformation from a domxml-tree to a string to a ext/xslt-domtree (if i build the xml with domxml for example). I find this feature rather useful, but if this is achievable with the ext/xslt backend as well, that would naturally be even better or at least more consistent. I haven't found in the API of ext/xslt any functions that could enable the use of DOM objects. Is the API limited to the functions listed in php_xslt.h ? Jarek -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Feature Request: add HTML 4.01 support into DOMXML extension?
Can you tell more on what that patch is about and it's availability? Look at http://rainbow.mimuw.edu.pl/~jkolakow/domxml/ Regards, Jaroslaw Kolakowski -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Feature Request: add HTML 4.01 support into DOMXML extension?
But, even if we don't agree with his opinion on templates, what about the features that libxml provides which are currently unused by PHP, including HTML 4.01-support (I don't know exactly what libxml can do)? Are there any plans to make them accessible from PHP? It definately would be nice. It would be nice and it doesn't require much work. I am using PHP-4.0.6 with patch, that allows me to parse HTML documents into DOM objects and output DOM objects to HTML format. Besides I can use libxslt to process DOM objects via XSL stylesheets. Now I am going to rewrite the new functions after last changes in the DOM XML extension - they will use these new pretty macros. Regards, Jaroslaw Kolakowski -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] CVS Account Request: jarkol
I would like to participate in the development of DOM XML extension (php4/ext/domxml). I want to add: - HTML parsing and output support - libxslt support The functions are already working, they just need to be rewritten after last changes made in the DOM XML extension. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] DOM XML enhancement proposal
I am using php 4.0.6 distribution. I need to use libxslt library, so I've written a patch for DOM XML extension. Besides I've added some functions More info at http://rainbow.mimuw.edu.pl/~jkolakow/domxml/ Regards, Jarek -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]