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: