ch02.sgm 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <!-- $XConsortium: ch02.sgm /main/4 1996/10/11 09:23:31 cdedoc $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <Chapter id="infoapg.div.2">
  10. <Title id="GCgdOlB-xG9X3cS">SGML and Information Manager Document Structure</Title>
  11. <IndexTerm><Primary>document structure</Primary></IndexTerm>
  12. <Para>
  13. This chapter introduces, briefly and at a very high-level, some
  14. SGML concepts and terminology as they relate to the
  15. Information Manager&rsquo;s on-line documentation model.
  16. It also discusses how the Information Manager organizes SGML information for
  17. on-line presentation. It includes these topics:
  18. </Para>
  19. <ItemizedList>
  20. <ListItem>
  21. <Para>
  22. <Link Linkend="OCgdOlB-xG9X3cS">How SGML Structures Information</Link>
  23. </Para>
  24. </ListItem>
  25. <ListItem>
  26. <Para>
  27. <Link Linkend="GI.RgFBe.1698oL">How the Information Manager Organizes On-line Information</Link>
  28. </Para>
  29. </ListItem>
  30. </ItemizedList>
  31. <Para>
  32. Go directly to
  33. <Link Linkend="sidr7JBU3pBt8oL">Preparing to Build</Link>
  34. if you are interested in learning about the build process.
  35. </Para>
  36. <Sect1>
  37. <Title id="OCgdOlB-xG9X3cS">How SGML Structures Information</Title>
  38. <Para>
  39. Standard Generalized Markup Language (SGML) is an
  40. international standard for defining the structure of information
  41. in a document. It does this by identifying the elements of a
  42. document and then describing the relationships of these elements
  43. to each other using a formal markup language.
  44. </Para>
  45. <Para>
  46. Elements are the logical building blocks of an SGML document
  47. such as its chapters, paragraphs, tables, graphics, and so forth.
  48. As described in the SGML standard (<CiteTitle>ISO 8879</CiteTitle>):
  49. &ldquo;A document is a logical construct that contains a document element, the top
  50. node of a tree of elements that make up the document&rsquo;s content.&rdquo;
  51. </Para>
  52. <Para>
  53. This hierarchy of logical elements is itself made up of a collection
  54. of physical entities, which can include files, parts of files,
  55. graphics, and other data. These physical entities are pulled
  56. together during the build process into the logical structure
  57. defined by the document type definition (DTD) for a given
  58. document.
  59. </Para>
  60. <Para>
  61. The DTD is described briefly below.
  62. </Para>
  63. <Sect2>
  64. <Title id="aCgdOlB-xG9X3cS">Document Type Definition</Title>
  65. <Para>
  66. The rules that govern the types of elements that can be contained
  67. in a given document and their order and frequency are defined in
  68. a special SGML document called a Document Type Definition (DTD).
  69. </Para>
  70. <Para>
  71. The DTD contains the markup rules that pertain to a class of
  72. documents, including the list of allowable elements that can be
  73. used in documents of a given type.
  74. </Para>
  75. <Para>
  76. For example, the DTD may stipulate that a document must
  77. consist of at least one chapter, a summary abstract, and an index.
  78. </Para>
  79. <Para>
  80. It may further define the relationships and the content of these
  81. elements, stating, for example, that chapters must start with a
  82. chapter title followed by one or more paragraphs, each of which
  83. can contain numbered lists, bulleted lists, tables, graphics, and
  84. so forth.
  85. </Para>
  86. <Para>
  87. Through this process of defining the elements that comprise a
  88. given document type and the attributes that an element can
  89. have, the DTD dictates the structure of the document.
  90. </Para>
  91. <Para>For more information about the SGML standard, see
  92. <Link Linkend="Q3yRgFBsz1698oL">Related Documentation</Link>.
  93. </Para>
  94. </Sect2>
  95. </Sect1>
  96. <Sect1>
  97. <Title id="GI.RgFBe.1698oL">How Information Manager Organizes On-line Information</Title>
  98. <Para>
  99. When you view on-line information through the
  100. Information Manager Book List window,
  101. you are looking at a collection of one or more
  102. <FirstTerm>bookcases</FirstTerm> of books
  103. about related topics. This collection is referred to as an
  104. <FirstTerm>information library</FirstTerm>. Each bookcase contains one or more
  105. <FirstTerm>books</FirstTerm>.
  106. </Para>
  107. <Para>
  108. This section describes the structure of on-line information in the
  109. Information Manager. The figure
  110. <Link Linkend="pIfh7JBpooBt8oL">On-line Information Structure</Link> depicts
  111. the Information Manager&rsquo;s library structure.
  112. </Para>
  113. <Sect2>
  114. <Title id="UIfh7JBpooBt8oL">On-line Information Structure</Title>
  115. <IndexTerm><Primary>on-line information</Primary><Secondary>structure of</Secondary></IndexTerm>
  116. <Para>
  117. An Information Manager information library (infolib) is created from
  118. SGML-conforming documents by a set of software tools called the
  119. Information System Toolkit. The SGML documents contain all of the text,
  120. tables, graphics, and other related elements that make up the books in
  121. each of the bookcases. The Information Manager tools take the SGML input
  122. and organize it internally into a hypertext-linked database that makes
  123. retrieval of specific pieces of information in the library very
  124. efficient.
  125. <IndexTerm><Primary>SGML document</Primary></IndexTerm>
  126. </Para>
  127. <Para>
  128. Each book in an Information Manager information library contains a hypertext
  129. table of contents (TOC) and one or more sections. The hypertext
  130. TOC<IndexTerm><Primary>table of contents</Primary></IndexTerm> is the entry point
  131. into an on-line book in the Information Manager.
  132. The TOC describes the structure of the document and acts as an
  133. interactive electronic map to help you navigate through the
  134. document to find specific information contained in the section(s).
  135. To &ldquo;move&rdquo; to a section within the on-line document body, you
  136. simply select the desired section title in the TOC.
  137. </Para>
  138. <Para>
  139. Sections are
  140. the smallest units of information in an Information Manager on-line book. They
  141. consist primarily of text but can also include graphics and tables.
  142. </Para>
  143. <Para>
  144. Information Manager &ldquo;connects&rdquo; book sections to the TOC through the use of
  145. hypertext links<IndexTerm><Primary>hypertext links</Primary></IndexTerm>.
  146. Each entry in the TOC contains a unique
  147. hypertext reference, whose value maps to a section in the on-line
  148. document.
  149. </Para>
  150. <Para>
  151. These TOC hypertext links provide many of the advanced
  152. document navigation features found in the Information Manager,
  153. including the collapsible book list, the graphical location map,
  154. and the printing hierarchy.
  155. </Para>
  156. </Sect2>
  157. <Sect2>
  158. <Title id="fIfh7JBpooBt8oL">On-line Information Hierarchy</Title>
  159. <IndexTerm><Primary>information libraries</Primary><Secondary>information hierarchy</Secondary></IndexTerm>
  160. <Para>
  161. The on-line information hierarchy, as structured in the Information Manager,
  162. consists of:
  163. </Para>
  164. <VariableList>
  165. <VarListEntry>
  166. <Term>Information library</Term>
  167. <ListItem>
  168. <Para>
  169. A collection of bookcases.
  170. </Para>
  171. </ListItem>
  172. </VarListEntry>
  173. <VarListEntry>
  174. <Term>Bookcase</Term>
  175. <ListItem>
  176. <Para>
  177. A collection of style sheets and books. The bookcase also
  178. contains a full-text search index constructed by the
  179. Toolkit.
  180. </Para>
  181. </ListItem>
  182. </VarListEntry>
  183. <VarListEntry>
  184. <Term>Book</Term>
  185. <ListItem>
  186. <Para>
  187. One or more sections organized under a hypertext TOC.
  188. </Para>
  189. </ListItem>
  190. </VarListEntry>
  191. <VarListEntry>
  192. <Term>Section</Term>
  193. <ListItem>
  194. <Para>
  195. The smallest unit of information in a book. Each section
  196. is referenced in the TOC and is viewable in one reading
  197. window of the browser.
  198. </Para>
  199. </ListItem>
  200. </VarListEntry>
  201. </VariableList>
  202. <Figure>
  203. <Title id="pIfh7JBpooBt8oL">On-line Information Structure</Title>
  204. <GRAPHIC id="gr54" entityref="infoapg.fig.1"></graphic>
  205. </Figure>
  206. <Para>
  207. In order for the tools in the Information System Toolkit to structure
  208. your documents correctly, you must apply Information Manager
  209. architectural forms to your documents&rsquo; DTDs. Applying Information
  210. Manager architectural forms to your DTD does not invalidate your
  211. existing document instances.
  212. </Para>
  213. <Para>
  214. The DTDs that are shipped with Information Manager&mdash;
  215. <filename>dtinfoBook.dtd</filename>, <filename>dtinfoTOC.dtd</filename>, <filename>dtinfoStyle.dtd</filename>, and
  216. <filename>docbook.dtd</filename>&mdash; already contain these
  217. architectural forms.
  218. </Para>
  219. <Para>
  220. See <Link linkend="infoapg.div.10">Using Architectural Forms</LINK> for
  221. instructions on applying the Information Manager architectural forms to
  222. your documents&rsquo; DTDs.
  223. </Para>
  224. <para>
  225. For related information, see:
  226. </para>
  227. <ItemizedList>
  228. <ListItem>
  229. <Para>
  230. <Link Linkend="n1Pih7JBbpoBt8oL">Required Files</Link>
  231. </Para>
  232. </ListItem>
  233. <ListItem>
  234. <Para>
  235. <Link Linkend="jI.RgFBe.1698oL">Build Considerations</Link>
  236. </Para>
  237. </ListItem>
  238. </ItemizedList>
  239. </sect2>
  240. </Sect1>
  241. </Chapter>