Chapter 8. GENERATING XML FROM A DATABASE

GENERATING XML FROM A DATABASE

XML is a highly efficient way of sharing information between computers. It's platform-neutral and widely used for web services, such as news feeds. But typing out XML documents manually is both tedious and prone to mistakes. It's far better to store the information in a database and generate XML dynamically. That way, you can always be sure that the content is the most recently available. Moreover, all it takes to customize the structure of the XML is a change to the query you send to the database.

Because XML is intended for processing by computers, you need to be very careful to get the syntax right. Browsers ...

Get PHP Object-Oriented Solutions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.