XML is gaining more momentum as a universal language for communication between platforms; some people even call it the "new web revolution." XML is sometimes used as a database for storing documents, but data storage was never its primary purpose. It was developed to pass information from one system to another in a common format.
XML is a tagged language. The actual data is contained in structured, tagged elements of the document. The XML document must be parsed to extract the information. Often, the information needs to be converted into another format. In this chapter, we focus on using PHP to read and transform XML documents and to use XML as communication protocol with Remote Services. Providing all techniques for using XML is beyond the scope of this book.
After you finish reading this chapter, you will have learned