News Feed
Sections




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

Tim Koschuetzki's Blog:
Parsing XML With The DOM Library
June 05, 2007 @ 08:38:00

Tim Koschuetzki has created and posted a new tutorial today that talks about working with XML documents with PHP's DOM Library (the PHP5 version) to create, query and update current documents.

The PHP 4 DOMXML extension has undergone some serious transformation since PHP5 and is a lot easier to use. Unlike SimpleXML, DOM can, at times, be cumbersome and unwieldy. However, it is often a better choice than SimpleXML. Please join me and find out why.

He breaks it out into a few different tasks - saving documents, using XPath queries, updating the contents of an XML file, working with namespaces and playing nice with SimpleXML.

1 comment voice your opinion now!
parse xml dom php5 library simplexml tutorial parse xml dom php5 library simplexml tutorial


blog comments powered by Disqus

Similar Posts

Gregory Szorc's Blog: So Many Untapped PHP Features

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

Ilia Alshanetsky's Blog: 5.2.5RC1 Released for Testing

Jani Hartikainen's Blog: Exceptions and abstraction

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part I


Community Events





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


community unittest introduction threedevsandamaybe refactor series framework install api interview testing code opinion developer language podcast symfony2 laravel list release

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