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.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to