This appendix describes the major elements used in the query XML
format.
The Query Editor saves queries in this XML format. You can
create queries by using the Query Editor or by creating an XML file
in a text editor. The DTD for the Proximity XML query format is
located in $PROX_HOME/resources/graph-query.dtd.
Empty elements as well as elements whose content consists
solely of PCDATA text are not included in this appendix. The
appendix also omits
detailed descriptions of and,
or, and
not as their use is reasonably
intuitive and a full description adds little useful
information. Interested readers are encouraged to examine the examples
under “Conditions”,
“Constraints”, and
“Test Expressions” or the DTD file.
The XML import file must include the following document type declaration:
<!DOCTYPE graph-query SYSTEM "graph-query.dtd">
Note that the document type declaration uses a system identifier
for the DTD. Proximity expects to find the
graph-query.dtd file in the same directory as the XML
data file.