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 Loosing market share with PHP 4

PHP Security Blog: PHP 5.2.0 and allow_url_include

Christoph Dorn's Blog: Your Mac can talk FeedBurner stats via PHP! PHP 5.2.2 and PHP 4.4.7 Released

Pro-PHP Podcast: Interview With Cal Evans

Community Events

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

list composer series introduction voicesoftheelephpant security interview release language podcast library tool conference framework community laravel artisanfiles version symfony opinion

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