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

Evert Pot's Blog: Converting ICalendar to XML

Gopal Vijayaraghavan's Blog: APC 3.1.2 Released!

Marco Tabini\'s Blog: Security-related bugs are good. No, really!

Gregory Szorc's Blog: PHP Now Using Proper HTTP Status Codes on Error

Lukas Smith's Blog: Its the end of the world as we know it.


Community Events





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


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

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