News Feed
Sections




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

IBM developerWorks:
Reading and writing the XML DOM with PHP
December 08, 2005 @ 08:18:57

On the IBM developerWorks page today, there's this new tutorial dealing with reading and writing XML with the DOM functionality in PHP.

Myriad techniques are available for reading and writing XML in PHP. This article presents three methods for reading XML: using the DOM library, using the SAX parser, and using regular expressions. Writing XML using DOM and PHP text templating will also be covered.

They look at what XML is, how to read it into PHP (with examples of DOM, SAX parsers, and regular expression methods), and writing out XML. The DOM functionality that they use for the examples is the newer, PHP5-compatable methods...

0 comments voice your opinion now!
xml reading writing dom php5 xml reading writing dom php5


blog comments powered by Disqus

Similar Posts

DevShed: Introduction to Creating Command Objects with PHP 5

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

Stuart Herbert's Blog: Arguments From The Boardroom, Not The Bedroom

Lorna Mitchell's Blog: Idiot-Proof Deployment with Phing

PHPFive.net: Creating a dynamic Google sitemap using the PHP5 SimpleXML extension


Community Events





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


language zendserver framework community release symfony list laravel interview opinion update library api tips series podcast install introduction deployment package

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