other:inspect3d:documentation:files:q3d_query_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
other:inspect3d:documentation:files:q3d_query_file [2024/07/16 17:02] – removed sgranger | other:inspect3d:documentation:files:q3d_query_file [2024/12/18 14:39] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Q3D Query File ====== | ||
+ | |||
+ | The .q3d file format is an method of storing query definitions as XML, ensuring that they are both human- and machine-readable. Inspect3D allows users to save query definitions from the {{: | ||
+ | |||
+ | ==== Format ==== | ||
+ | |||
+ | As an XML document, a .q3d file is made up of hierarchical elements that are demarcated by tags, indicated by the < and > characters. An element consists of a start tag, <// | ||
+ | |||
+ | Tags can also contain attributes in the // | ||
+ | |||
+ | 1. The top-level element in a .q3d file is // | ||
+ | |||
+ | 2. The second-level element in a .q3d file is //query//. A //query// element has a //name// attribute (the corresponding group' | ||
+ | |||
+ | 3. The bottom-level element in a .q3d file is // | ||
+ | |||
+ | ==== DTD ==== | ||
+ | |||
+ | Formally, a .q3d file respects the Document Type Definition (DTD): | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!ENTITY query Definition+> | ||
+ | < | ||
+ | name CDATA #REQUIRED | ||
+ | > | ||
+ | <!ENTITY Definition> | ||
+ | < | ||
+ | condition CDATA #REQUIRED | ||
+ | query CDATA #REQUIRED | ||
+ | workspace CDATA #REQUIRED | ||
+ | type CDATA #REQUIRED | ||
+ | folder CDATA #REQUIRED | ||
+ | name CDATA #REQUIRED | ||
+ | component CDATA #REQUIRED | ||
+ | max_elements CDATA #REQUIRED | ||
+ | negate_result CDATA #REQUIRED | ||
+ | events CDATA #REQUIRED | ||
+ | exclude_events CDATA #REQUIRED | ||
+ | has_tag_ref CDATA #REQUIRED | ||
+ | tag_logic CDATA #REQUIRED | ||
+ | tag CDATA #REQUIRED | ||
+ | has_subject_ref CDATA #REQUIRED | ||
+ | subject CDATA #REQUIRED | ||
+ | normalize_info CDATA #REQUIRED | ||
+ | > | ||
+ | ]> | ||
+ | </ | ||
+ | |||
+ | |||
other/inspect3d/documentation/files/q3d_query_file.1721149324.txt.gz · Last modified: 2024/07/16 17:02 by sgranger