Creating an XTT from a DTD file

How To

You may want to define the structure of your XML documents based on an existing Document Type Definition (DTD) file. If you have an existing XML document based on an external DTD and want to produce XML files from database data that conforms to that DTD, then you can create an XTT from a DTD file.

A root element must be specified for an XTT. During the import process a dialog allows you to select any valid element definition as the root for the XTT.

After creating the XTT, all the elements and attributes under the selected root node of the DTD will appear in the XTT object tree, however, none of the element or attribute definitions contain values – there is no method to pass SQL data to an XML file using the XTT. This may be accomplished by editing element nodes in the XTT object tree. For details on how to modify nodes in the XTT object tree, refer to Mapping Data to Elements.