XML parseing - Newbie trying to figure out how to.
Posted: Sat Jul 12, 2003 8:13 am
Hello there.
I know this sounds like a noobish question, but newbies like me tends to ask them sometimes hehe. I'm very new to php and programming, and I'm learning new stuff everyday. Atm I'm trying to make a little website for the the Planetside outfit I'm in. Just the basics stuff and a forum.
Then I came over reading about XML parseing, and begun to read more. Reason for doing so is that I have a XML document of the planetside outfit rooster, and I'm trying to get it to view in a php document.
http://stats.planetsidegaming.com/outfi ... /stats.xml
I've tried countless times, but i keep failing everytime hehe.. I either end up with a blank page, or a page full of function errors hehe (yes I'm a very newbie)
Lately I've been trying to follow a guide at http://www.analysisandsolutions.com/code/phpxml.htm and this link is very helpful, but since i still dont understand how to make it work after reading this, then maybe I should just give up =(. The guide makes it look so easy, but I find it hard hehe.
The TAG's I'm trying to fetch is <name></name>, <title></title>, <battlerank></battlerank>, <points></points> and <lastloggedin></lastloggedin>, and trying to put them into a nice tabel,
I'm not asking anyone to write the php file for me or anything, I just need some pinpointers, suggestion, advices, to get me back into the spirit of trying
(but if anyone wants to write it, I'll be extremly happy also hehe)
Thanks on advanced
Mvh
Erik Rasmussen
erik@w2r.net
I know this sounds like a noobish question, but newbies like me tends to ask them sometimes hehe. I'm very new to php and programming, and I'm learning new stuff everyday. Atm I'm trying to make a little website for the the Planetside outfit I'm in. Just the basics stuff and a forum.
Then I came over reading about XML parseing, and begun to read more. Reason for doing so is that I have a XML document of the planetside outfit rooster, and I'm trying to get it to view in a php document.
http://stats.planetsidegaming.com/outfi ... /stats.xml
I've tried countless times, but i keep failing everytime hehe.. I either end up with a blank page, or a page full of function errors hehe (yes I'm a very newbie)
Lately I've been trying to follow a guide at http://www.analysisandsolutions.com/code/phpxml.htm and this link is very helpful, but since i still dont understand how to make it work after reading this, then maybe I should just give up =(. The guide makes it look so easy, but I find it hard hehe.
The TAG's I'm trying to fetch is <name></name>, <title></title>, <battlerank></battlerank>, <points></points> and <lastloggedin></lastloggedin>, and trying to put them into a nice tabel,
I'm not asking anyone to write the php file for me or anything, I just need some pinpointers, suggestion, advices, to get me back into the spirit of trying
Thanks on advanced
Mvh
Erik Rasmussen
erik@w2r.net