Creating a Resource Based on a DTD
To create a resource based on a DTD:
- Display the File Explorer.
- Find the DTD on which you want to base the resource. Select it, and drag and drop it in the application.
The Workbench displays a popup menu with the options Query and Update.
- Select the type of resource you want to create.
Percussion adds the resource to the application.
- To modify the resource, double-click on it. The Workbench opens the resource in a separate tab.
A query resource created from a DTD includes a Page Data Tank, Mapper, and Selector on the Data Pipe. You must add at least one database table to add a Backend Data Tank. The Mapper does not include any mappings and the Selector does not include selection criteria. You must add mappings and selection criteria. (Note: You can only add mappings and selection criteria after you have added a Backend Data Tank with at least one table.)
An update resource created from a DTD includes a Mapper and Updater. You must add at least one database table to add a Backend Data Tank. The Mapper does not include any mappings, so you must add them; you can only add mappings if you have added a Backend Data Tank with at least one table.