O'Reilly logo

PHP Programming with PEAR by Stoyan Stefanov, Carsten Lucke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Working with XML

XML has been drawing more and more attention during recent years. In fact, in the new PHP version, PHP 5, XML support has been completely revamped and is now based on the libraries libxml2 and libxsl, which implement the W3C standards and recommendations in nearly every aspect.

But XML is not only hype; there are several applications where XML is definitely the best choice. If you need to store hierarchical data structures, such as the structure and contents of a page in a content management system, XML is perfectly suited for the job. But a content management system is not the only application where XML comes in handy. Even if you develop a smaller application, you can use XML for your configuration files. This way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required