This appendix describes the XML format for importing data into and exporting data out of Proximity. In addition to handling complete databases, Proximity can import and export individual attributes and containers. Users are solely responsible for ensuring that imported attribute and container data correctly matches the identifiers and data types in the existing database.
The DTD
for the Proximity XML format is located in
$PROX_HOME/resources/prox3db.dtd.
The examples in this appendix are designed to illustrate the relevant XML syntax and are not intended to represent, in whole or in part, a valid or semantically meaningful database.
The XML data file must start with the following XML declaration:
<?xml version="1.0" encoding="UTF-8"?>
The document type declaration immediately follows the XML declaration. The XML data file must include the following document type declaration:
<!DOCTYPE PROX3DB SYSTEM "prox3db.dtd">
Note that the document type declaration uses a system identifier
for the DTD. Proximity expects to find the
prox3db.dtd file in the same directory as the XML
data file.