News Feed

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

Sandro Groganz's Blog: Article "PHP 5 Enterprise Edition" available online XML and PHP Simplified - XML,PHP and the Database

Brian Nelson's Blog: Reverse Proxy in PHP5, Rev2 What\'s new in PHP 5 and PHP 6

Thomas Weinert's Blog: FluentDOM

Community Events

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

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

All content copyright, 2014 :: - Powered by the Solar PHP Framework