News Feed
Sections




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

DevShed:
Loading XML Strings with simpleXML in PHP 5
June 19, 2006 @ 07:21:05

DevShed continues their "Using SimpleXML in PHP5" series today with a bit more complex look (part two) at loading in preexisting XML strings to be manipulated.

Are you looking forward to learning about loading XML data strings, as well as searching and accessing nodes? Then this is the tutorial you've been waiting for since last week! Welcome to the second part of the series "Working with simpleXML in PHP 5." This three-part series introduces the most important features of the "simpleXML" extension that comes with PHP 5, and shows by several hands-on examples how to implement the handy set of XML-parsing functions that are included in this library.

They start by demonstrating the simplexml_load_string functionality to simply grab the data and follow it with a method to pull out just the data you need from the resulting object. Finally, they help you construct an XMLParser class to show a more object-oriented approach to performing the same tasks.

0 comments voice your opinion now!
simplexml tutorial simplexml_load_string object reference simplexml tutorial simplexml_load_string object reference


blog comments powered by Disqus

Similar Posts

DevShed: Abstract Classes in PHP - Working with PHP 5

Hiveminds Magazine: Using numbers in PHP function names

PHPMaster.com: Bending XML to Your Will

SitePoint PHP Blog: Using PHP Streams Effectively

Stefan Mischook's Blog: Classes and Objects in PHP


Community Events

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


podcast voicesoftheelephpant community extension opinion security example laravel5 library framework release video api series language version introduction php7 laravel interview

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