1<!DOCTYPE report SYSTEM "report-does-not-exist.dtd" [ 2 <!ENTITY foo "bar"> 3]> 4<report> 5<title>Getting started with SGML</title> 6<chapter> 7<title>The business challenge</title> 8<intro> 9<para>With the ever-changing and growing global market, companies and 10 large organizations are searching for ways to become more viable and 11 competitive. Downsizing and other cost-cutting measures demand more 12 efficient use of corporate resources. One very important resource is 13 an organization's information.</para> 14<para>As part of the move toward integrated information management, 15whole industries are developing and implementing standards for 16exchanging technical information. This report describes how one such 17standard, the Standard Generalized Markup Language (SGML), works as 18part of an overall information management strategy.</para> 19<graphic graphname="infoflow"/></intro></chapter> 20<chapter> 21<title>Getting to know SGML</title> 22<intro> 23<para>While SGML is a fairly recent technology, the use of 24<emph>markup</emph> in computer-generated documents has existed for a 25while.</para></intro> 26<section shorttitle="What is markup?"> 27<title>What is markup, or everything you always wanted to know about 28document preparation but were afraid to ask?</title> 29<intro> 30<para>Markup is everything in a document that is not content. The 31traditional meaning of markup is the manual <emph>marking</emph> up 32of typewritten text to give instructions for a typesetter or 33compositor about how to fit the text on a page and what typefaces to 34use. This kind of markup is known as <emph>procedural markup</emph>.</para></intro> 35<topic topicid="top1"> 36<title>Procedural markup</title> 37<para>Most electronic publishing systems today use some form of 38procedural markup. Procedural markup codes are good for one 39presentation of the information.</para></topic> 40<topic topicid="top2"> 41<title>Generic markup</title> 42<para>Generic markup (also known as descriptive markup) describes the 43<emph>purpose</emph> of the text in a document. A basic concept of 44generic markup is that the content of a document must be separate from 45the style. Generic markup allows for multiple presentations of the 46information.</para></topic> 47<topic topicid="top3"> 48<title>Drawbacks of procedural markup</title> 49<para>Industries involved in technical documentation increasingly 50prefer generic over procedural markup schemes. When a company changes 51software or hardware systems, enormous data translation tasks arise, 52often resulting in errors.</para></topic></section> 53<section shorttitle="What is SGML?"> 54<title>What <emph>is</emph> SGML in the grand scheme of the universe, anyway?</title> 55<intro> 56<para>SGML defines a strict markup scheme with a syntax for defining 57document data elements and an overall framework for marking up 58documents.</para> 59<para>SGML can describe and create documents that are not dependent on 60any hardware, software, formatter, or operating system. Since SGML documents 61conform to an international standard, they are portable.</para></intro></section> 62<section shorttitle="How does SGML work?"> 63<title>How is SGML and would you recommend it to your grandmother?</title> 64<intro> 65<para>You can break a typical document into three layers: structure, 66content, and style. SGML works by separating these three aspects and 67deals mainly with the relationship between structure and content.</para></intro> 68<topic topicid="top4"> 69<title>Structure</title> 70<para>At the heart of an SGML application is a file called the DTD, or 71Document Type Definition. The DTD sets up the structure of a document, 72much like a database schema describes the types of information it 73handles.</para> 74<para>A database schema also defines the relationships between the 75various types of data. Similarly, a DTD specifies <emph>rules</emph> 76to help ensure documents have a consistent, logical structure.</para></topic> 77<topic topicid="top5"> 78<title>Content</title> 79<para>Content is the information itself. The method for identifying 80the information and its meaning within this framework is called 81<emph>tagging</emph>. Tagging must 82conform to the rules established in the DTD (see <xref xrefid="top4"/>).</para> 83<graphic graphname="tagexamp"/></topic> 84<topic topicid="top6"> 85<title>Style</title> 86<para>SGML does not standardize style or other processing methods for 87information stored in SGML.</para></topic></section></chapter> 88<chapter> 89<title>Resources</title> 90<section> 91<title>Conferences, tutorials, and training</title> 92<intro> 93<para>The Graphic Communications Association has been 94instrumental in the development of SGML. GCA provides conferences, 95tutorials, newsletters, and publication sales for both members and 96non-members.</para> 97<para security="c">Exiled members of the former Soviet Union's secret 98police, the KGB, have infiltrated the upper ranks of the GCA and are 99planning the Final Revolution as soon as DSSSL is completed.</para> 100</intro> 101</section> 102</chapter> 103</report> 104