Search found 4 matches

by jtse
Fri Jun 20, 2003 7:57 pm
Forum: PHP - Code
Topic: domxml_open_mem function
Replies: 9
Views: 2200

Thks guys for the tips. :o

But could I ask how/when do I use the domxml_open_mem()? Both domxml_open_file() and domxml_open_mem() parse the xml document and look almost the same thing to me. This could be a dumb or silly question? :oops:


Regards
by jtse
Fri Jun 20, 2003 10:26 am
Forum: PHP - Code
Topic: domxml_open_mem function
Replies: 9
Views: 2200

Cactus, Once again thank you for your direction. It works fine now. But one funny thing is it only works well with the domxml_open_file but not the domxml_open_mem function. For your reference, the contents in the xml file are as follows: <?xml version="1.0" encoding="ISO-8859-1"...
by jtse
Thu Jun 19, 2003 4:09 pm
Forum: PHP - Code
Topic: domxml_open_mem function
Replies: 9
Views: 2200

Hi Cactus, Thks for your info. I have installed the GNOME XML library and added this "--with-dom = 'C:\libxml2-2.5.7' " in my php.ini file. Then I reboot Apache and ran the php_info, I am not sure where do I look for this info. I browsed thro' the whole page and could not find it. Is there...
by jtse
Thu Jun 19, 2003 1:40 pm
Forum: PHP - Code
Topic: domxml_open_mem function
Replies: 9
Views: 2200

domxml_open_mem function

Hi, I am new here and I just began to learn DOM and PhP. :D I wrote this small program in php version 4.3.1 <?php if (!$doc=domxml_open_mem("xml/cd_catalog.xml")){ echo "Error while parsing"; exit; } $root = $doc->document_element(); print ("The name of the root element is :...