News Feed
Sections




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

Big Nerd Ranch Blog:
XML in PHP 5
November 19, 2005 @ 05:26:38

David Sklar has this pointer on his blog today to a new post on the Big Nerd Ranch blog today dealing with XML and PHP5.

Now that PHP 5 is becoming more and more prevalent over its predecessors, some really good books that cover PHP need revisions. Nowhere is this more true than with XML-related topics, where PHP 5 has a completely different way of working with XML - and, in fact, the mechanisms from PHP 4 will no longer work.

In this article, we'll be looking at one way to build and parse an XML tree using the new methods in PHP 5.

They look at a generic XML document they'll use to test and move quickly into a way to create it using the DOM functionality in PHP. From there, they use a simple ten-line script to parse it and echo it back out...

0 comments voice your opinion now!
big nerd ranch PHP5 XML big nerd ranch PHP5 XML


blog comments powered by Disqus

Similar Posts

DevShed: Improving Exception Throwing when Auto Loading Classes in PHP 5

PHPit.net: PHP5 Class Basics, Part 1

SitePoint PHP Blog: Keeping current with PHP

Michelangelo van Dam's Blog: Mapping Seven Things

DevShed: Accessing Attributes and Cloning Nodes with the DOM XML Extension in PHP 5


Community Events

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


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

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