Delphi Developer's Guide to XML
Chapter 15 - XML is Data

Previous   Next   Listings

Since XML is just a data format with embedded descriptions of the content, you can automate the generation of XML documents from a database source. These tables supply the information for constructing a movie-watcher document.

Cinema.db   Movie-watcher database table for cinema information
Movie.db   Movie-watcher database table for movie information
Pricing.db   Movie-watcher database table for cinema pricing information
Screening.db   Movie-watcher database table for movie screening information
Sessions.db   Movie-watcher database table for screening times information
Stars.db   Movie-watcher database table for movies' stars information

To access these tables throughout the rest of the example applications, you need to create a BDE alias that refers to them. Set up a 'movie-watcher' alias as a standard Paradox database and point it at the directory that holds these files.

Zipped Files

Delphi Developer's Guide to XML 2003, Keith Wood Previous   Next   Listings