note 21454 added to ref.domxml
| From: | nlaine at filfog dot com | Date: | Mon, 13 May 2002 22:52:33 +0000 |
| Subject: | note 21454 added to ref.domxml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30605@lists.php.net to get a copy of this message | ||
Regarding the notes from
madsosterby@mail1.stofanet.dk
23-Nov-2001 06:27
here is a complement for win32
to make it very simple: php as an apache module
php.ini
extension_dir = c:\php\sapi
uncomment this line
extension=php_domxml.dll
drag and drop the php_domxml.dll which is originally in c:\php\extensions into c:\php\sapi
you're done DOM is activated
(nb same way to load the sablotron module except that you have to copy these files which are
originally inside c:\php\dlls
sablot.dll
expat.dll
iconv.dll
into c:\winnt\system32)
two other things:
domxml_open_file() seems to require an absolute path starting at c:\....
however you can fread/file your xml file before and then use domxml_open_mem()
it is a good idea to validate your file before you try and parse it !!
some urls to validate your xml:
http://www.stg.brown.edu/service/xmlvalid/
http://www.cogsci.ed.ac.uk/%7Erichard/xml-check.html
enjoy urself !
ncik
--
http://www.php.net/manual/en/ref.domxml.php
http://master.php.net/manage/user-notes.php?action=edit+21454
http://master.php.net/manage/user-notes.php?action=delete+21454
http://master.php.net/manage/user-notes.php?action=reject+21454