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 | ||
inspect3d:documentation:files:q3d_query_file [2024/06/17 18:12] – created sgranger | inspect3d:documentation:files:q3d_query_file [2024/07/12 13:26] (current) – removed sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | 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 [[I3DGroups.png{{/ | ||
- | |||
- | ===== 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 | ||
- | > | ||
- | ]> | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
inspect3d/documentation/files/q3d_query_file.1718647922.txt.gz · Last modified: 2024/06/17 18:12 by sgranger