Jump to content


Photo

XML Parser


  • Please log in to reply
No replies to this topic

#1 warpdesign

warpdesign
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 15 September 2006 - 11:09 PM

Hi, I'm trying to create an XML parser in PHP. I'm using the basic code located in this article here:
http://www.sitepoint...ntcover.php.txt

The only thing I changed is the location of the XML file in the fopen which is here
http://investors.wam...101159&p=rssall

and I removed the "DESCRIPTION" case from the switch statement since I don't need that. I recieve the following error when I change those two lines in the code

"XML error: Empty document at line 1"

???




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users