Parsing XML with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
toppac
Forum Commoner
Posts: 29
Joined: Fri Jun 14, 2002 10:44 am

Parsing XML with PHP

Post by toppac »

Does anybody know of a good tutorial on how to parse and XML document with php. I tried the Zend one but it is a little much for me since i have no experience with using XML really.
User avatar
haagen
Forum Commoner
Posts: 79
Joined: Thu Jul 11, 2002 3:57 pm
Location: Sweden, Lund

Post by haagen »

Look at http://www.hotscripts.com. I have found very good tutorials and examples there.

If you can't find anything there, please come back, and I'll send you some files I've written.
will
Forum Contributor
Posts: 120
Joined: Fri Jun 21, 2002 9:38 am
Location: Memphis, TN

Post by will »

funny you should ask, i've been working on the same thing this evening. i've been going off of some tutorials from phpbuilder.com (click on articles).

what i've gotten so far (a modification of the tutorials) can be found at:

http://www.wirewater.org/code/viewsourc ... de/xml.php
http://www.wirewater.org/code/viewsourc ... e/test.php


(note that i'm working on adding some functionality, so these may not always be working :) ).
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

wow, VERY nice site
will
Forum Contributor
Posts: 120
Joined: Fri Jun 21, 2002 9:38 am
Location: Memphis, TN

Post by will »

hob_goblin wrote:wow, VERY nice site
thanks (i guess that was directed at me :-\). it's far from complete, as i'm sure is quite obvious, but i've finally gotten the layout to a point i'm happy with. I'm quite anal-retentive when it comes to personal sites, and will spend a lot of time over the tiniest of details (ensuring browser compatibility, valid HTML code, etc).
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

when i register a new domain.. it will have the same point as your site..

but when it comes to layouts, i have a new one every other week or so
Post Reply