Re: problem when outputting an xml file using php
From: mr_burns (bissatch_at_yahoo.co.uk)
Date: 11/27/04
- Next message: mr_burns: "Re: problem when outputting an xml file using php"
- Previous message: John Dunlop: "Re: Insert Spaces"
- In reply to: Janwillem Borleffs: "Re: problem when outputting an xml file using php"
- Next in thread: mr_burns: "Re: problem when outputting an xml file using php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Nov 2004 05:30:35 -0800
Hi,
I tried your code but got the following error:
Warning: domdocument() expects at least 1 parameter, 0 given in
/home/martyn69/public_html/oarsome/test_countries.php on line 35
Fatal error: Call to undefined function: load() in
/home/martyn69/public_html/oarsome/test_countries.php on line 36
It seems that the code I am using is opening the XML file, getting
into the FOR loop and is managing to spit out the 'id' attribute. The
only problem is the $item->node_value() isnt producing the node value.
Any ideas? Why isnt node_value() producing the node value? Am I
missing something? Cheers
Burnsy
- Next message: mr_burns: "Re: problem when outputting an xml file using php"
- Previous message: John Dunlop: "Re: Insert Spaces"
- In reply to: Janwillem Borleffs: "Re: problem when outputting an xml file using php"
- Next in thread: mr_burns: "Re: problem when outputting an xml file using php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|