webkroll.com

Archive for the 'PHP' Category

Handling XML: Keep it simple

Tuesday, August 15th, 2006

I almost forgot to post about this. While i was setting up this site and playing around with things like Simpleviewer and later on Lightbox, an old “problem” resurfaced when I thought it would be cool fed both apps from the same data source.
“I need to find a simple, and effective XML parser”

I’ve read many a tutorial about how to parse XML, be it method X or method Y, but all of them went yacking on about god and the world without actually getting to the point FAST. This is obviously good for people that want to know every single last thing about a technology they’re using (and don’t get me wrong I’d love to have that much time), but I need to understand it and be able to use it as quickly as possible without much fuss.

There are so many things that I am catching up on at the moment that there is just not enough time for all the gossip.

To my surprise I found a very nice and simple XML parser withina couple of seconds after trawling through Googles results and looking at what was thrown back at me.

My choice in the end fell for Eric Pollmann’s excellent parser script which is exactly how I like code. Simple, fast and to the point.

(more…)