Hello dharana, Thursday, January 8, 2004, 1:09:13 AM, you wrote:
> Hello Ken, > I started using the php5 new dom extension like this: > -- > <?php > asort(get_class_methods(new domDocument)); > foreach ($ar_methods as $method) > echo $method.'<br />'; ?>> > -- > I found the rest of the here: > http://www.w3.org/TR/DOM-Level-2-Core/core.html > You can then load a real xml file and start inspecting the different > classes (node, nodeList, etc). > I hope this helps, > Ken Tossell wrote: >> Hey Internals, >> >> Would anyone be able to write, or point me to, some examples for using the >> new DOM extension? I'm looking to do some documenting, but I need to know >> how to use our implementation first. >> >> Thanks, >> Ken >> > -- > dharana > This message represents the official view of the voices in my head. Funny :-) what about this: php -r 'foreach(get_declared_classes() as $c) echo "$c\n";'|grep dom|php -R 'reflection_class::export($argn);' php -r 'foreach(get_declared_classes() as $c) if (!strncmp("dom",$c,3)) reflection_class::export($c);' -- Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php