Delphi Developer's Guide to XML
Chapter 23 - XML Mapper

Previous   Next   Listings

A separate tool, the XML Mapper creates transformation definitions that let you convert an arbitrary XML document to and from the XML format used by client datasets. Using these transformations, you can load an XML document into a dataset, modify it using standard data-aware components, then save the changes back to the original document.

MWMap.dpr   A data-aware editor for an XML document
MWMapMain.pas
MWMapMain.dfm
   The main editor form
movie-watcher.xml   Source movie-watcher document
movie-watcher.dtd   Data definition for movie-watcher documents
movie-watcher.xrp   Transformations property repository for movie-watcher documents
MWToDp.xtr
MWToXml.xtr
   Transformations to and from the client dataset XML format for movie-watcher documents
MoviesToDp.xtr
MoviesToXml.xtr
   Intermediate transformations to and from the client dataset XML format for movie elements in movie-watcher documents
CinemasToDp.xtr
CinemasToXml.xtr
   Intermediate transformations to and from the client dataset XML format for cinema elements in movie-watcher documents
ScreeningsToDp.xtr
ScreeningsToXml.xtr
   Intermediate transformations to and from the client dataset XML format for screening elements in movie-watcher documents

Zipped Files (Delphi 6+)

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