Editing an XTT |
|
After you have created the root node and structure (if creating an XTT from XML, DTD, or XSD), you will want to provide content for the generated XML file. For blank XTTs, this is primarily a drag-and-drop operation from the tables in the database schema panel into the XTT object tree. The sections Inserting a Table and Adding New Elements and Attributes, describe the primary tasks you will need to accomplish if creating a new XTT.
For XTTs based on an XML, DTD, or XSD file, you will need to add query statements and values to the attribute and element definitions in the XTT object tree. These tasks are described the section Mapping Data to Elements and Attributes.
These tasks are not mutually exclusive and the above guidelines are only provided to enable you to quickly understand how to create a valid XTT document. At times you may find it useful to modify an element definition in a new XTT – one example being if you only wish to select values from an SQL table that meet some conditions. Or you may not need to conform precisely to the XML schema that your XTT is based on – in which case it is possible to use drag-and-drop operations to build your XTT object tree.