ATTACHMENT 6 HISTORICAL COLLECTIONS - DOCUMENT TYPE DEFINITION

<!-- DOCTYPE TEI2 [ -->

<!-- *********************************************************** --> <!-- LIBRARY OF CONGRESS DTD --> <!-- Developed for: Library of Congress: Special Projects --> <!-- Developed by: ATLIS Consulting Group Inc. --> <!-- Deborah A. Lapeyre and B.Tommie Usdin --> <!-- Initial date: 11/20/92 (draft) Final 01/10/93 --> <!-- *********************************************************** --> <!-- *********************************************************** --> <!-- Change History: 3/95 (RW) --> <!-- --> <!-- 1. The attributes "Place" and "Anchor.ids" were added --> <!-- to the element <note>. --> <!-- 2. The element <divisions>now has a "required" end --> <!-- tag. --> <!-- 3. The attribute values "Superscript" and "Subscript" --> <!-- were removed from the attribute "Rend" found in --> <!-- the element <hi>. --> <!-- The attribute values "smallcaps" and "hunderscore" --> <!-- were added to the attribute "Rend" on the element <hi>. --> <!-- 4. The elements <superscript>and <subscript>were --> <!-- added. --> <!-- 5. The entity %m.phrase; now includes the elements --> <!-- <superscript>and <subscript>. --> <!-- 6. The content model for the element has --> <!-- been adjusted to allow divisions and chunks to mix --> <!-- inside divisions. --> <!-- *********************************************************** --> <!-- Change History: 7/95 (LEF, MTB) --> <!-- 1. The attribute value "other" was added to the attribute --> <!-- "Rend" on the element <hi>. --> <!-- 2. Added a NOTATION declaration for TIFF image files --> <!-- 3. Added a NOTATION declaration for PCX image files --> <!-- 4. Added a NOTATION declaration for GIF image files --> <!-- 5. Added a NOTATION declaration for JFIF image files --> <!-- 6. Added a NOTATION declaration for PDF image files --> <!-- 7. Added the attribute "Entity" to the elements --> <!-- <controlpgno>, <table>, and <illus>. The attribute --> <!-- value of "Entity" allows linking to image files --> <!-- through ENTITY references in the doctype declaration --> <!-- subset of the SGML document. --> <!-- *********************************************************** --> <!-- DTD Design Decisions (See Document Analysis Report) 1. DTD will follow the model of Text Encoding Initiative Guidelines (Reference: TEI P1 Ver 1, August 6, 1990 and available portions of TEI P2, Ver 2, October, 1992) 2. Tags for cataloging information will not be included in DTD. 3. DTD must include the formatting information to display document in a reasonable manner, not produce facsimile of original. 4. Only elements useful for searching or simple formatting will be identified, and these will be constrained by cost. (For example, it is too expensive to identify geographic names.) 5. Elements may be defined for searching only, that will NOT be printable or usable in display. --> <!-- ***********************************************************--> <!-- NOTATION DECLARATIONS for Images --> <!-- ***********************************************************--> <!NOTATION tif PUBLIC "-//Aldus Corporation//NOTATION Tagged Image File Format//EN" > <!NOTATION pcx PUBLIC "-//ZSoft//NOTATION PCX: IBM PC Raster Graphics Format//EN" > <!NOTATION gif PUBLIC "-//Compuserve Information Services//NOTATION Graphics Interchange Format//EN" > <!NOTATION jfif PUBLIC "ISO DIS 10918//NOTATION JPEG Graphics Format//EN" > <!NOTATION pdf PUBLIC "-//Adobe Inc.//NOTATION Portable Document Format//EN" > <!--*********************************************************** --> <!-- ENTITIES for CONTENT MODELS --> <!-- ***********************************************************--> <!-- ***********************************************************--> <!-- PHRASE ELEMENTS (within a paragraph or chunk) --> <!--************************************************************--> <!-- Phrase-level elements are low level elements, usually used for variant presentation, emphasis, highlighting, etc. Phrase-level elements must be used within paragraphs or paragraph-like elements. --> <!ENTITY % x.phrase "handwritten | stamped " > <!ENTITY % m.phrase "%x.phrase; | add | del | hi | superscript | subscript | omit | ref" > <!-- WHAT'S INSIDE A PHRASE-LEVEL ELEMENT --> <!-- (char data or any of the other phrase elems) --> <!ENTITY % phrase.seq "(#PCDATA | %m.phrase;)*" > <!--*********************************************************** --> <!-- INTERMEDIATE ELEMS (within/between paragraphs) --> <!-- ***********************************************************--> <!-- Elements that may occur both within paragraphs (& paragraph-level elements) & between such elements. --> <!ENTITY % x.inter "illus" > <!ENTITY % m.inter "%x.inter; | list | note" > <!--*********************************************************** --> <!-- PARAGRAPH-LEVEL (paragraph-like) ELEMENTS --> <!-- ***********************************************************--> <!-- CHUNKS: SAME LEVEL AS PARAGRAPH --> <!ENTITY % x.chunk "ad | table " > <!ENTITY % m.chunk "%x.chunk; | p" > <!-- ALL THAT CAN BE AT SAME LEVEL AS PARA --> <!ENTITY % chunk.seq "(%m.inter; | %m.chunk;)*" > <!-- WHAT'S INSIDE A PARAGRAPH --> <!ENTITY % paraContent "(#PCDATA | %m.inter; | %m.phrase;)* " > <!-- SPECIAL PARAGRAPH --> <!-- An element that may contain either a word or phrase or a series of chunks. Used for notes, etc. that may take either of 2 forms: character data or paras. --> <!ENTITY % specialPara "(((%m.chunk;),(%m.chunk; | %m.inter;)*) | (%paraContent;) )" > <!--*********************************************************** --> <!-- ELEMENTS INSIDE A DIVISION --> <!-- ***********************************************************--> <!-- ELEMENTS THAT START A DIVISION (at the top) --> <!ENTITY % m.divtop "head" > <!--TEI entity m.divbot not used; there are no bottom elements --> <!--*********************************************************** --> <!--FLOATING ELEMENTS (occur anywhere in document) --> <!-- ***********************************************************--> <!ENTITY % float "anchor | hsep | lb | otherid | pageinfo | ref" > <!--*********************************************************** --> <!-- GLOBAL ATTRIBUTE VALUES --> <!-- ***********************************************************--> <!-- Global attributes have been attached to each element in the entire document, both in the TEI header and in the text. --> <!ENTITY % a.global "--Unique name (ID) used for referencing -- ID ID #IMPLIED --In what language is this element -- lang CDATA #IMPLIED --Number or label -- n CDATA #IMPLIED" > <!-- NOTE: The rend attribute has been attached to each element in the text portion of the document. Rend is usually CDATA but is sometimes given explicit values (for example, for <hi> rend may take the values bold, italics,underscore, et. al.) --> <!-- ***********************************************************--> <!-- SPECIAL CHARACTER SETS --> <!-- ***********************************************************--> <!-- The following public character entity sets are selected from those identified in ISO 8879. --> <!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN"> <!ENTITY % ISOlat2 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 2//EN"> <!ENTITY % ISOgrk1 PUBLIC "ISO 8879-1986//ENTITIES Greek Letters//EN"> <!ENTITY % ISOgrk3 PUBLIC "ISO 8879-1986//ENTITIES Greek Symbols//EN"> <!ENTITY % ISOnum PUBLIC "ISO 8879-1986//ENTITIES Numeric and Special Graphic//EN"> <!ENTITY % ISOdia PUBLIC "ISO 8879-1986//ENTITIES Diacritical Marks//EN"> <!ENTITY % ISOpub PUBLIC "ISO 8879-1986//ENTITIES Publishing//EN"> <!ENTITY % ISOtech PUBLIC "ISO 8879-1986//ENTITIES General Technical//EN"> %ISOlat1; %ISOlat2; %ISOgrk1; %ISOgrk3; %ISOnum; %ISOdia; %ISOpub; %ISOtech; <!--*********************************************************** --> <!-- TEI HEADER ELEMENTS --> <!-- ***********************************************************--> <!ELEMENT TEI2 - - (teiheader,text) > <!-- NOTE: Because the Library of Congress source documents are often described in full MARC cataloging records, the full TEI Header is not being used. All optional portions of the header have been deleted in the Library of Congress DTD. --> <!-- ***********************************************************--> <!-- TEI HEADER ELEMENTS --> <!-- ***********************************************************--> <!-- ELEMENT MIN CONTENT (EXCEPTIONS) --> <!ELEMENT teiheader - - (filedesc) > <!ATTLIST teiheader %a.global; -- What kind of document is this -- type CDATA text -- Who created the TEI Header info -- creator CDATA #IMPLIED -- Is this header new or revised -- status (new|update) new -- When was 1st version of hder created -- date.created CDATA #IMPLIED -- When was current ver. of hdr created -- date.updated CDATA #IMPLIED > <!--************************************************************--> <!-- TEIHEADER: FILE DESCRIPTION --> <!-- ***********************************************************--> <!-- Intent of the TEI is that this contain the full bibliographic description of the electronic file. --> <!ELEMENT filedesc - - (titlestmt,publicationstmt,sourcedesc+)> <!ATTLIST filedesc %a.global; > <!--************************************************************--> <!-- TEIHEADER: TITLE STATEMENT --> <!-- ***********************************************************--> <!ELEMENT titlestmt - O (title+,resp) > <!ATTLIST titlestmt %a.global; > <!-- TITLE --> <!-- TEI intent is to contain the chief name of the work,including alternative titles. For this implementation, the 1st title elem will hold the unique document ID number. Subsequent title elements will contain the title as obtained from the MARC records, with the appended suffix: ": a machine-readable transcription." --> <!ELEMENT title - O (%phrase.seq;) > <!ATTLIST title %a.global; > <!-- STATEMENT of RESPONSIBILITY --> <!-- Identifies the Library of Congress as the creator of the machine readable document. Boilerplate text, same for all docs. --> <!ELEMENT resp - O ((role & name)+) > <!ATTLIST resp %a.global; > <!-- ROLE: Nature of the Responsibility --> <!-- Defines LC's function in doc creation Boilerplate text, same for all docs. --> <!ELEMENT role - O (%phrase.seq;) > <!ATTLIST role %a.global; > <!-- NAME: Agency Responsible --> <!-- Names the Library of Congress as creator of the electronic document. Boilerplate text, same for all docs. --> <!ELEMENT name - O (%phrase.seq;) > <!ATTLIST name %a.global; > <!--************************************************************--> <!-- TEIHEADER: PUBLICATION STATEMENT --> <!-- ***********************************************************--> <!-- Date and place of publication and distribution for the electronic document. Boilerplate text, same for all docs. --> <!ELEMENT publicationstmt - O (p+) > <!ATTLIST publicationstmt %a.global; > <!--elem p is defined in the GENERAL TEXT ELEMENTS --> <!-- ***********************************************************--> <!-- TEIHEADER: SOURCE DESCRIPTION --> <!-- ***********************************************************--> <!-- TEI intent is to contain bibliographic description of the source material from which the electronic text is derived. This will initially contain the LCCN and collection and copyright information. Eventually, this should contain tags for the info. from the MARC cataloging record. --> <!ELEMENT sourcedesc - - (lccn?,coll?,copyright?,p*) > <!ATTLIST sourcedesc %a.global; > <!--elem p is defined in the GENERAL TEXT ELEMENTS --> <!-- LIBRARY of CONGRESS CATALOG NUMBER --> <!ELEMENT lccn - O (#PCDATA) > <!ATTLIST lccn %a.global; > <!-- COLLECTION --> <!-- (May include such information as institution, division, collection name, folder or call number.) --> <!ELEMENT coll - O (#PCDATA) > <!ATTLIST coll %a.global; > <!-- COPYRIGHT INFORMATION --> <!-- (May include such information as registration number, year, etc.) --> <!ELEMENT copyright - O (#PCDATA) > <!ATTLIST copyright %a.global; > <!--************************************************************--> <!-- ELEMENTS WITHIN A DOCUMENT --> <!-- ***********************************************************--> <!-- ELEMENT MIN CONTENT (EXCEPTIONS) --> <!ELEMENT text - - (front?,body?,back?) +(%float;) > <!ATTLIST text %a.global; -- What kind of document -- type (publication|manuscript) #REQUIRED --Rendition: Document presentation/format -- rend (handwritten|typed|printed|mixed) #IMPLIED > <! --FRONT MATTER (usually in books) --> <!ELEMENT front - O ((%m.divtop;)*,(%chunk.seq;),div*) > <!ATTLIST front %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --BODY MATTER (main part of document) --> <!ELEMENT body - O ((%m.divtop;)*,(%chunk.seq;),div*) > <!ATTLIST body %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --BACK MATTER (usually in books) --> <!ELEMENT back - O ((%m.divtop;)*,(%chunk.seq;),div* ) > <!ATTLIST back %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--*********************************************************** --> <!-- HIERARCHICAL TEXT ELEMENTS (DIVISIONS) --> <!-- ***********************************************************--> <!ELEMENT div - - ((%m.divtop;)*, (%chunk.seq; | div)*)> <!ATTLIST div %a.global; -- Important kinds of divisions -- type (bib|glossary|idinfo|index|listill|toc) #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--*********************************************************** --> <!-- GENERAL TEXT ELEMENTS --> <!-- ***********************************************************--> <! -- PARAGRAPH --> <!ELEMENT p - O (%paraContent;) > <!ATTLIST p %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --HEAD (A HEADING or TITLE) --> <!ELEMENT head - O (%phrase.seq;) > <!ATTLIST head %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --LISTS --> <!ELEMENT list - - (head?,item+) > <!ATTLIST list %a.global; -- What format style of list -- type (bulleted|ordered|simple) "simple" --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --(paragraphs & anything at same level) --> <!ELEMENT item - O (%chunk.seq;) > <!ATTLIST item %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--************************************************************--> <!--WITHIN PARAGRAPHS: HIGHLIGHTING AND EMPHASIS --> <!--************************************************************--> <! -- ADDED TEXT --> <!ELEMENT add - - (%specialPara;) > <!ATTLIST add %a.global; --Where additional text is written -- place CDATA #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --DELETED TEXT --> <!ELEMENT del - - (%phrase.seq;) > <!ATTLIST del %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --HANDWRITTEN TEXT --> <!ELEMENT handwritten - - (%phrase.seq;) > <!ATTLIST handwritten %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --OMITTED or ILLEGIBLE TEXT --> <!ELEMENT omit - O EMPTY > <!ATTLIST omit %a.global; --Description of missing material -- desc CDATA #IMPLIED -- Why material was omitted -- reason CDATA #IMPLIED -- How much is missing -- extent CDATA #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --STAMP or PERFORATION MARKING --> <!ELEMENT stamped - - (%phrase.seq;) > <!ATTLIST stamped %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --HIGHLIGHTING (emphasis) --> <! -- Used for text that stands out in some way because of the variant presentation, such as bold, italics, or centering. Does not imply emotional emphasis, just a change in presentation style. --> <!ELEMENT hi - - (%phrase.seq;) > <!ATTLIST hi %a.global; -- Rendition: How is text highlighted -- rend (bold|italics|underscore|blockindent|hunderscore| smallcaps|other) #IMPLIED > <! --SUPERSCRIPTED TEXT --> <!ELEMENT superscript - - (%phrase.seq;) > <!ATTLIST superscript %a.global; > <! --SUBSCRIPTED TEXT --> <!ELEMENT subscript - - (%phrase.seq;) > <!ATTLIST subscript %a.global; > <!--*********************************************************** --> <!--PICTORIAL ELEMENTS(ILLUSTRATIONS, ADS, & TABLES) --> <!-- ***********************************************************--> <! -- ILLUSTRATION (figure,picture, etc.) --> <!ELEMENT illus - - (caption?) > <!ATTLIST illus %a.global; -- ENTITY is pointer to image file -- entity ENTITY #IMPLIED -- Is this illustration a map? -- map (yes|no) "no" --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --CAPTION --> <! -- More than just the title of an illustrat. or table; may include source, author, description, etc. - any words associated with table or illus, not the text. --> <!ELEMENT caption - O (%chunk.seq;) > <!ATTLIST caption %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --ADVERTISEMENT --> <! -- If complex, may be keyed in cells, as a table is keyed --> <!ELEMENT ad - - (%chunk.seq;|cell*) > <!ATTLIST ad %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--************************************************************--> <! --TABLE ELEMENTS --> <!-- ***********************************************************--> <! -- TABLE --> <!ELEMENT table - O (caption?,tabletext) > <!ATTLIST table %a.global; -- ENTITY is pointer to image file -- entity ENTITY #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --TABLE TEXT --> <! -- Contains the text of all the cells in a table, for searching purposes only and NOT for formatting or display. --> <!ELEMENT tabletext - - (cell+) > <!ATTLIST tabletext %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --CONTENTS of the CELLS in a TABLE --> <! -- Cells are used to hold the characters, words, numbers, etc. - the text of the table, for online searching. WILL NOT be used for presentation --> <!ELEMENT cell - O (#PCDATA) > <!ATTLIST cell %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--*********************************************************** --> <!--NOTES: (INCLUDES FOOTNOTES, ENDNOTES, MARGINAL) --> <!-- ***********************************************************--> <!ELEMENT note - - (%specialPara;) > <!ATTLIST note %a.global; --Target: ID(s) of the referenced elem(s)-- anchor.ids IDREFS #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED --To define where on the physical page the note appears-- place CDATA #IMPLIED > <!--************************************************************--> <!--FLOATING ELEMENTS (PAGE INFORMATION GROUP) --> <!-- ***********************************************************--> <! -- PAGE INFORMATION GROUP --> <! -- Pagination information that is entered once per physical document page. --> <!ELEMENT pageinfo - - (controlpgno,printpgno+,blankpage?) > <!ATTLIST pageinfo %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --CONTROL PAGINATION --> <! -- For documents in which every page is captured as an image, this is the imaged page number, starting from 1. --> <!ELEMENT controlpgno - O CDATA > <!ATTLIST controlpgno %a.global; -- ENTITY is pointer to image file -- entity ENTITY #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --PRINT PAGE NUMBER --> <! -- The page number as printed on the original pages. This element may repeat if there is more than 1 pg no. --> <!ELEMENT printpgno - O CDATA > <!ATTLIST printpgno %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --BLANK PAGE --> <! -- Rarely used. Indicates the presence of a blank page in a document where pages normally contain text and blank pages have been designated important by the collection preparer. NOT used when a document is merely printed one-sided. --> <!ELEMENT blankpage - O EMPTY > <!ATTLIST blankpage %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--************************************************************--> <!--FLOATING ELEMENTS (FORMATTING, LINKING, OTHERID) --> <!-- ***********************************************************--> <! -- LINE BREAK (Start of a new line) --> <! -- Used when the line endings are unusual or significant and must be preserve (for example in poetry or advertising). --> <!ELEMENT lb - O EMPTY > <!ATTLIST lb %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --Horizontal Separation --> <! -- Used to indicate spacing, tabs, or leader dots between items that originally printed on a single line. --> <!ELEMENT hsep - O EMPTY > <!ATTLIST hsep %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --OTHER ID NUMBER --> <! -- Documents originally issued or cataloged outside the library may have an non-LC identifying no., significant for searches. --> <!ELEMENT otherid - O CDATA > <!ATTLIST otherid %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --LINKS: Anchors (targets) and Pointers --> <! -- for Hypertext links and note references. Can be parser checked by using ID/IDREF mechanism or may contain pointer data. --> <!ELEMENT anchor - O (#PCDATA) > <!ATTLIST anchor %a.global; --Rendition: How is element presented -- rend CDATA #IMPLIED > <! --POINTER to ANCHOR or another object --> <!ELEMENT ref - O (%phrase.seq;) > <!ATTLIST ref %a.global; --Target: ID(s) of the referenced elem(s) -- target IDREFS #IMPLIED --Rendition: How is element presented -- rend CDATA #IMPLIED > <!--******************* End of the DTD *************************--> <!--]> -->

Next... ..Previous.. ...Return to Section J Table of Contents ...Return to the Table of Contents