News Feed
Sections




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

PHPMaster.com:
PHP DOM Working with XML
June 08, 2012 @ 08:27:45

On PHPMaster.com there's a new tutorial posted about using XML in PHP, an introduction to using the DOM functionality in PHP to work with your XML content.

PimpleXML allows you to quickly and easily work with XML documents, and in the majority of cases SimpleXML is sufficient. But if you're working with XML in any serious capacity, you'll eventually need a feature that isn't supported by SimpleXML, and that's where the PHP DOM (Document Object Model) comes in.

He starts with a brief introduction to XML and DTDs including an example of each (defining a sample book information he'll use in the rest of the tutorial). He helps you create a simple class that takes in the XML content, working with construction/destruction of the object and using it to find, add and delete a book by things like ISBN or genre.

0 comments voice your opinion now!
dom tutorial introduction xml


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Zend Framework: Surviving The Deep End Book - Chapters 4, 5, 6, 7 and Appendix

Greg Beaver's Blog: PhpDocumentor 1.3.0 stable is released

Silver Lining Blog: How to Enable XDebug in Windows Azure Web Sites

DevShed: Unit Testing

Robert Basic's Blog: Chaining routes in Zend Framework


Community Events

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


laravel extension framework interview language podcast opinion security api series php7 voicesoftheelephpant video laravel5 release introduction community example library version

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