On Fri, Nov 23, 2001 at 09:19:15AM +0100, Ol wrote: > On Thu, 22 Nov 2001 22:17:18 +0100 > [EMAIL PROTECTED] wrote: > > > I've written a PHP-2-XML converter which is sitting directly on the > > Zend-parser. This gives us more speed and more accuracy. > > Difficult to do better in fact ... ;)
Right. > > If someone wants to test it, download it from http://weigon.dyndns.org/ > > Yeap it works fine :) > Some minor bugfixes i've find tonight (diff -u at bottom) Fine. > > It is a php-extension which requires some patches to the Zend engine. If > > someone tests it, don't give up to early. The ext has been written for > > 4.0.4pl1 or the like and won't compile with the latest php as the Zend > > core has changed. > > At least it still work with 4.0.6 Very good. > > Currently missing is the PHPDoc part (the php code) which can handle > > XML. > > What to you thing about a double output for this code : > - on a side can generate standart HTML output like 'classical' phpdoc > - on the other a docbook output. Why not. Perfect. PHP -> HTML (highlight_string) PHP -> XML (ext/phpdoc) PHP -> SGML (ext/phpdoc + sgml) > It could be a good way to obtain more easily pear's enduser doc. Even if > the docbook output surely need corrections it could be anyway a nice > starting point... Sure. Doing the SGML in PHP based on the XML could simplify the development a lot. Perhaps XSLT can be usefull in these cases. PHP -> XML -> [XSLT] -> HTML PHP -> XML -> [XSLT] -> DocBook PHP -> XML -> PHPDoc This would be nice. > Olivier Courtin Jan -- mailto: [EMAIL PROTECTED] weigon @ #php.de (IRCnet) http://jan.kneschke.de weigon @ #modlogan (openprojects) -- 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]