News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Introducing SimpleXML in PHP 5
June 12, 2006 @ 07:19:13

DevShed starts up a new series today for those looking to work with XML in PHP5 and just need something light and, well, simple. To help, they've posted part one of their "Introduction to SimpleXML" series.

In response to all the exciting features that I mentioned before, in this three-part series I'll be taking a close look at the most important functions of the "simpleXML" extension, using numerous code samples and clear explanations to put them in context, so you can understand how they work.

At the end of the series, you should be equipped with the proper background to start using "simpleXML" in your own PHP 5 applications.

They start with a method for getting the data into a SimpleXML object in the first place, reading in an XML file. With the object (and data inside) in place, they show how to query that data (as array elements), pulling out the bits you need. Combine these two bits of functionality into a simple class and you'll have the last step of part one of the series - building a basic XML parsing class.

0 comments voice your opinion now!
simplexml xml introduction part1 tutorial simplexml xml introduction part1 tutorial


blog comments powered by Disqus

Similar Posts

DevShed: Cleaning up Array Elements, POST and GET Requests with Filters in PHP 5

Abhinav Singh's Blog: How to use locks in PHP cron jobs to avoid cron overlaps

SitePoint PHP Blog: Nginx, PHP5.5 and Phalcon on OpenShift

Mikko Koppanen's Blog: Creating buttons with Imagick

Kevin van Zonneveld's Blog: Kevin van Zonneveld


Community Events





Don't see your event here?
Let us know!


series list tips community introduction language symfony laravel deployment zendserver library update package api framework install opinion interview podcast release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework