The Explain-lite DTD

(Here you can read more about the ONE-2 XML approach in developing Exlpain-lite )

In order to provide flexibility endeavoring in a yet unprofiled service associated with Z39.50, the ONE-2 consortium decided to craft it using XML. 

The explain lite Document Type Description defines the elements of the XML.

 

<!ELEMENT z3950_host_details (system_details, database_details*, record_details)>
<!ELEMENT system_details (hostname, network_address, network_port, authentication_code, update_information_location?)>
<!ELEMENT hostname (#PCDATA)>
<!ELEMENT network_address (#PCDATA)>
<!ELEMENT network_port (#PCDATA)>
<!ELEMENT authentication_code (#PCDATA)>
<!ELEMENT update_information_location (#PCDATA)>
<!ELEMENT database_details (database_name, database_description, search_attributes*, scan_attributes*)>
<!ELEMENT database_name (#PCDATA)>
<!ELEMENT database_description (#PCDATA)>
<!ELEMENT search_attributes (attribute_name, attribute_codes)>
<!ELEMENT attribute_name (#PCDATA)>
<!ELEMENT attribute_codes (use, relation?, position?, structure?, truncation?, completeness?)>
<!ELEMENT use (#PCDATA)>
<!ELEMENT relation (#PCDATA)>
<!ELEMENT position (#PCDATA)>
<!ELEMENT structure (#PCDATA)>
<!ELEMENT truncation (#PCDATA)>
<!ELEMENT completeness (#PCDATA)>
<!ELEMENT scan_attributes (scan_attribute_name, scan_attribute_codes)>
<!ELEMENT scan_attribute_name (#PCDATA)>
<!ELEMENT scan_attribute_codes (b_use, b_relation?, b_position?, b_structure?, b_truncation?, b_completeness?)>
<!ELEMENT b_use (#PCDATA)>
<!ELEMENT b_relation (#PCDATA)>
<!ELEMENT b_position (#PCDATA)>
<!ELEMENT b_structure (#PCDATA)>
<!ELEMENT b_truncation (#PCDATA)>
<!ELEMENT b_completeness (#PCDATA)>
<!ELEMENT record_details (element_set_names, record_syntaxes)>
<!ELEMENT element_set_names (#PCDATA)>
<!ELEMENT record_syntaxes (#PCDATA)>