News Feed
Jobs 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

MaltBlue.com: Zend Framework 2 - Hydrators, Models and the TableGateway Pattern

NETTUTS.com: Why you Should be using PHP's PDO for Database Access

Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard

Lorna Mitchell's Blog: PHP and JSON

Brian Nelson's Blog: Writing A Reverse Proxy in PHP5


Community Events











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


support language hack facebook database symfony2 application hhvm performance opinion composer introduction podcast security package install framework unittest release component

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