13. XML and PHP

XML, the Extensible Markup Language, is one of the most important technologies in computing. With a range of uses, from sharing data between computers to storing data for a single application, XML provides a format for representing not just information but also information about the information (aka meta-information). XML, like HTML, is based on Standard Generalized Markup Language (SGML), which means that you’ll see numerous similarities between the two.

This chapter begins with a basic introduction to XML: what it is, the proper XML syntax, and how to make your own XML document. ...

Get PHP Advanced and Object-Oriented Programming: Visual Quickpro Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.