Guest User

Untitled

a guest
Jul 19th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE report SYSTEM "report.dtd">
  3. <report>
  4. <title>Getting started with SGML</title>
  5. <chapter number="1">
  6. <title>The business challenge</title>
  7. <author>
  8. <last>Stevens</last>
  9. <first>W.</first>
  10. </author>
  11. <intro>
  12. <para>With the ever-changing and growing global market,
  13. companies and large organizations are searching for ways to
  14. become more viable and competitive. Downsizing and other
  15. cost-cutting measures demand more efficient use of corporate
  16. resources. One very important resource is an organization's
  17. information.</para>
  18. <para>As part of the move toward integrated information
  19. management, whole industries are developing and implementing
  20. standards for exchanging technical information. This report
  21. describes how one such standard, the Standard Generalized
  22. Markup Language (SGML), works as part of an overall
  23. information management strategy.</para>
  24. <graphic graphname="infoflow" />
  25. </intro>
  26. </chapter>
  27. <chapter number="2">
  28. <title>Getting to know SGML</title>
  29. <author>
  30. <last>Stevens</last>
  31. <first>W.</first>
  32. </author>
  33. <intro>
  34. <para>While SGML is a fairly recent technology, the use of
  35. <emph>markup</emph>in computer-generated documents has
  36. existed for a while.</para>
  37. </intro>
  38. <section shorttitle="What is markup?">
  39. <title>What is markup, or everything you always wanted to
  40. know about document preparation but were afraid to
  41. ask?</title>
  42. <intro>
  43. <para>Markup is everything in a document that is not
  44. content. The traditional meaning of markup is the manual
  45. <emph>marking</emph>up of typewritten text to give
  46. instructions for a typesetter or compositor about how to
  47. fit the text on a page and what typefaces to use. This kind
  48. of markup is known as
  49. <emph>procedural markup</emph>.</para>
  50. </intro>
  51. <topic id="top1" number="1">
  52. <title>Procedural markup</title>
  53. <keyword>Markup</keyword>
  54. <para security="u">Most electronic publishing systems today
  55. use some form of procedural markup. Procedural markup codes
  56. are good for one presentation of the information.</para>
  57. </topic>
  58. <topic id="top2" number="2">
  59. <title>Generic markup</title>
  60. <keyword>Markup</keyword>
  61. <para>Generic markup (also known as descriptive markup)
  62. describes the
  63. <emph>purpose</emph>of the text in a document. A basic
  64. concept of generic markup is that the content of a document
  65. must be separate from the style. Generic markup allows for
  66. multiple presentations of the information.</para>
  67. </topic>
  68. <topic id="top3" number="3">
  69. <title>Drawbacks of procedural markup</title>
  70. <keyword>Markup</keyword>
  71. <para security="u">Industries involved in technical
  72. documentation increasingly prefer generic over
  73. <emph>procedural</emph>markup schemes. When a company
  74. changes software or hardware systems, enormous data
  75. translation tasks arise, often resulting in errors.</para>
  76. </topic>
  77. </section>
  78. <section shorttitle="What is SGML?">
  79. <title>What
  80. <emph>is</emph>SGML in the grand scheme of the universe,
  81. anyway?</title>
  82. <intro>
  83. <para>SGML defines a strict markup scheme with a syntax for
  84. defining document data elements and an overall framework
  85. for marking up documents.</para>
  86. <para>SGML can describe and create documents that are not
  87. dependent on any hardware, software, formatter, or
  88. operating system. Since SGML documents conform to an
  89. international standard, they are portable.</para>
  90. </intro>
  91. </section>
  92. <section shorttitle="How does SGML work?">
  93. <title>How is SGML and would you recommend it to your
  94. grandmother?</title>
  95. <intro>
  96. <para>You can break a typical document into three layers:
  97. structure, content, and style. SGML works by separating
  98. these three aspects and deals mainly with the relationship
  99. between structure and content.</para>
  100. </intro>
  101. <topic id="top4" number="4">
  102. <title>Structure</title>
  103. <keyword>DTD</keyword>
  104. <para>At the heart of an SGML application is a file called
  105. the DTD, or Document Type Definition. The DTD sets up the
  106. structure of a document, much like a database schema
  107. describes the types of information it handles.</para>
  108. <para security="u">A database schema also defines the
  109. relationships between the various types of data. Similarly,
  110. a DTD specifies
  111. <emph>rules</emph>to help ensure documents have a
  112. consistent, logical structure.</para>
  113. </topic>
  114. <topic id="top5" number="5">
  115. <title>Content</title>
  116. <keyword>Markup</keyword>
  117. <para>Content is the information itself. The method for
  118. identifying the information and its meaning within this
  119. framework is called
  120. <emph>tagging</emph>. Tagging must conform to the rules
  121. established in the DTD (see
  122. <xref idref="top4" />).</para>
  123. <graphic graphname="tagexamp" />
  124. </topic>
  125. <topic id="top6" number="6">
  126. <title>Style</title>
  127. <para>SGML does not standardize style or other processing
  128. methods for information stored in SGML.</para>
  129. </topic>
  130. </section>
  131. </chapter>
  132. <chapter number="3">
  133. <title>Resources</title>
  134. <author>
  135. <last>Abiteboul</last>
  136. <first>Serge</first>
  137. </author>
  138. <author>
  139. <last>Buneman</last>
  140. <first>Peter</first>
  141. </author>
  142. <author>
  143. <last>Suciu</last>
  144. <first>Dan</first>
  145. </author>
  146. <section>
  147. <title>Conferences, tutorials, and training</title>
  148. <intro>
  149. <para>The Graphic Communications Association has been
  150. instrumental in the development of SGML. conferences,
  151. tutorials, newsletters, and for both members and
  152. non-members.</para>
  153. <para security="c">Exiled members of the Union's secret
  154. police, the KGB, have infiltrated the upper ranks of the
  155. GCA and are planning the Final Revolution as soon as DSSSL
  156. is completed.</para>
  157. </intro>
  158. </section>
  159. </chapter>
  160. </report>
Add Comment
Please, Sign In to add comment