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

SitePoint PHP Blog: Image Scraping with Symfony's DomCrawler

DevShed: Benchmarking Applications with PHP

Gonzalo Ayuso's Blog: Building a small microframework with PHP (Part 2). Command line interface

PHPMaster.com: PHP DOM: Using XPath

Raphael Stolt's Blog: Using MongoHq in Zend Framework based applications


Community Events





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


install framework community podcast laravel api code series symfony2 testing language list interview introduction refactor threedevsandamaybe release unittest opinion developer

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