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

Processing XML Documents

In the first part of this chapter, you learned how to create XML documents from any data source using various PEAR packages. But creating XML would make no sense unless someone on the other side processes the XML you have created. So in the second part of this chapter you will learn which PEAR packages to use for processing XML documents.

The need to process might arise in several situations, as the use of XML in software development is getting more popular every day. Common usage scenarios where you might need to read XML documents and extract information could be:

  • Read configuration files in XML format
  • Import data to your application that has been exported by any other application in an XML format
  • Display content on your ...

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