ATG includes a utility program for parsing XML templates. This program, startSQLRepository
, reads a repository definition from an XML file or DOM and:
Verifies your XML is correctly formed and compliant with the DTD.
Parses and processes optional operation tags like
<add-item>
,<remove-item>
, and<query-items>
. These tags provide a means for adding, removing, updating items in your SQL repository.Generates SQL statements required to create appropriate table structure in database when you use the
–outputSQL
flag.Returns results of
<query-items>
and<print-item>
requests in the form of<add-item>
tags. This allows you to easily copy and paste the results into another XML template, so you can add the items to another repository.Imports and exports items and item descriptors.