News Feed
Sections




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

WeberDev.com:
PHP 101 (part 11) - Sinfully Simple (SimpleXML)
May 08, 2006 @ 07:04:49

WeberDev.com has this new article today, an introduction to some PHP5 functionality that doesn't seem to get used so much - the SimpleXML functions. The tutorial provides an introduction to the topic, and includes several code examples to get you started.

While PHP has included support for the two standard methods of parsing (read: making sense of) XML - SAX and DOM - since version 4.0, the complexity and inherent geekiness of these methods often turned off all but the most dedicated XML developers. All that has changed, however, with PHP 5.0, which introduces a brand-spanking-new XML extension named SimpleXML that takes all (and I do mean all) the pain out of processing XML documents. Keep reading, and find out how. The Bad Old Days

They describe what it is, how it works, and what kind of situations it's best suited for before getting into the code. They show you how to reference values as objects, grab their attributes, and how to use the XPath function to pick out just the data you need.

0 comments voice your opinion now!
tutorial simplexml howto introduction object attribute xpath tutorial simplexml howto introduction object attribute xpath


blog comments powered by Disqus

Similar Posts

TechFlirt: Object Oriented Programming in PHP

Developer Tutorials Blog: Running PHP cron jobs - regular scheduled tasks in PHP

Joshua Eichorn's Blog: HTML_AJAX Wordpress Plugin Tutorial

TechTatva.com: [How To] Setup Cherokee with PHP5 FPM

WeberDev.com: PHP 101 (part 11) - Sinfully Simple (SimpleXML)


Community Events





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


zendserver framework api language bugfix introduction code threedevsandamaybe conference podcast series tips laravel release community deployment voicesoftheelephpant interview symfony list

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