11.5. Tables in DTDless XML documents

Well-formed XML documents do not reference a DTD, so no table model is initially available in well-formed XML documents. It is, however, possible to declare the necessary elements for a table model in a well-formed XML document so that epcEdit's table editor can be used.

To simplify the task of declaring the necessary elements, epcEdit comes with an extension script that will declare the elements and attributes for a CALS tables. Follow these steps to include the CALS table model in your well-formed XML-document:

  1. Select Extra->Run Script from the main menu.

  2. In the dialog box that appears, select Define CALS table elements from the list of known scripts.

  3. Click on the OK button to run the script.

This Script adds the elements that are required by CALS tables to the list of declared elements and defines the necessary attributes for these elements.

After running the script, you can insert and edit CALS tables in your well-formed XML document.

Please note that there is no standard interpretation for table elements in well-formed XML documents. It is up to the XML-processing applications to recognize which elements are used to describe a table and how to interpret them.