ID:               26957
 Updated by:       [EMAIL PROTECTED]
 Reported By:      banpei at banpei dot net
 Status:           Bogus
 Bug Type:         DOM XML related
 Operating System: Redhat 7.2
 PHP Version:      5.0.0b3 (beta3)
 New Comment:

Use the W3C docs for some hints, how to use it.



Or my slides from http://slides.bitflux.ch/phpug2004_1/



Or wait for the Zend Article about that, which should be 

published soon.


Previous Comments:
------------------------------------------------------------------------

[2004-03-11 15:05:39] kenneth at clearplanet dot co dot za

<?

$c = get_declared_classes ();

sort ($c);

print_r($c);

?>



By running the above code you'll get the following list of classes:

--snip--

[13] => domattr

[14] => domcdatasection

[15] => domcharacterdata

[16] => domcomment

[17] => domconfiguration

[18] => domdocument

[19] => domdocumentfragment

[20] => domdocumenttype

[21] => domdomerror

[22] => domelement

[23] => domentity

[24] => domentityreference

[25] => domerrorhandler

[26] => domexception

[27] => domimplementation

[28] => domimplementationlist

[29] => domimplementationsource

[30] => domlocator

[31] => domnamednodemap

[32] => domnamelist

[33] => domnamespacenode

[34] => domnode

[35] => domnodelist

[36] => domnotation

[37] => domprocessinginstruction

[38] => domstring_extend

[39] => domstringlist

[40] => domtext

[41] => domtypeinfo

[42] => domuserdatahandler

[43] => domxpath

--snip--



The indexes will differ, but that is besides the point. The DOM
interface can now only be access through these classes.



For documentation on these classes you can try the libxml2 homepage at
www.xmlsoft.org, but I'm not sure if the docs correspond to the PHP
implementation.

------------------------------------------------------------------------

[2004-03-11 13:47:38] kenneth at clearplanet dot co dot za

I'm having the same problem with Redhat 9 and PHP5.0.0-RC1 (snapshot).
By pulling up a list of all available functions it is confirmed that
the domxml_open_file does not exist.



I know that it will take a while for all the documentation to reflect
the major changes in PHP5, but is there a means how we can get the
documentation for the DOM XML/XSL extension?

------------------------------------------------------------------------

[2004-01-18 19:19:54] banpei at banpei dot net

Any idea where I may find documentation about the difference between
old and new dom compared to php4.3 and php5.0?

------------------------------------------------------------------------

[2004-01-18 18:34:14] [EMAIL PROTECTED]

There is no such function in the new ext/dom..



------------------------------------------------------------------------

[2004-01-18 18:11:54] banpei at banpei dot net

Description:
------------
I got the error:

Fatal error: Call to undefined function domxml_open_file() 

eventhough I compiled with the dom extension. I also tried the old
xmldocfile() function, but that didn't work either.



Then I tried other domxml functions and neither of them worked. Phpinfo
tells me that I configured --with-dom, shows that dom and libxml are
both enabled.



My current libxml2 version is: 2.6.4



Phpinfo is on:

http://www.trueno.org/infophp.php

Reproduce code:
---------------
http://www.trueno.org/testdom.php

Expected result:
----------------
No output

Actual result:
--------------
Fatal error: Call to undefined function domxml_open_file() in
/home/trueno/testdom.php on line 2


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26957&edit=1

Reply via email to