Q&A

Q1: How does XML fit into the content management picture?
A1: XML is a markup language that is designed to be more structured than HTML. Unlike HTML, XML documents must conform to a particular document type definition in order to be considered valid. These document type definitions, or DTDS, really allow you to write markup languages of your own, using the tags and structure that you specify. The advantage of XML is that it can be processed easily by computer programs. After an HTML document has been published, it’s not easy to extract the data from the document. Using XML, it should be just as easy to get data out of a document as it is to put it into it. Because of its flexible functionality and rigid structure, XML is a good source format ...

Get Sams Teach Yourself CGI in 24 Hours, Second 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.