note 21454 deleted from ref.domxml by sniper
| From: | sniper@php.net | Date: | Mon, 03 Nov 2003 15:47:48 +0000 |
| Subject: | note 21454 deleted from ref.domxml by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59712@lists.php.net to get a copy of this message | ||
Note Submitter: nlaine@filfog.com
----
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