contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
XML input file sample  
Introduction: XML input file and DTD  

Sample

  <?XML version="1.0"?> 
         <!DOCTYPE doc SYSTEM "mart.dtd"> 

         <DOC> 
         <TITLE>The XQ39 Space Modulator</TITLE> 
         <AUTHOR>Maurice B. Martian</AUTHOR> 

         <CHAPTER ID="OVER"> 
         <TITLE>Executive Overview</TITLE> 
         <AUDIENCE>Managers</AUDIENCE> 

         <P>The Space Modulator is an excellent product for
         dispensing of rabbits, Tasmanian devils, and other
         undesirables.</P> 

         <P>Proper care and maintenance of all parts (such as the 
         <PART>trigger</PART>, <PART>battery 
         chamber</PART> and <PART>laser doohicky</PART>) are 
         necessary for proper operation.</P> 

         <P>If you are an engineer, please see <XREF IDREF="SETUP"/>. 
         If you are a Martian centurion, please see <XREF IDREF="USAGE"/>.</P> 

         </CHAPTER> 

         <CHAPTER ID="SETUP"> 
         <TITLE>Setting up the Modulator</TITLE> 
         <AUDIENCE>Engineers</AUDIENCE> 

         <P>Put down your beer and pay attention.</P> 

         <P>If you plan to shoot somebody, see <XREF
         IDREF="USAGE"/>. If you don't know how to set it up or 
         use it, you must be a manager: please see <XREF IDREF="OVER"/>.</P> 

         <P>Take the modulator out of the box of styrofoam packing pellets. 
         Insert four double-A batteries into the <PART>battery chamber</PART>. 
         Clean the <PART>laser doohicky</PART> carefully. 
         Grease the <PART>trigger</PART> with WD-40.</P> 

         </CHAPTER> 

         <CHAPTER ID="USAGE"> 
         <TITLE>Using the Modulator</TITLE> 
         <AUDIENCE>Space Centurions in Funny Hats</AUDIENCE> 

         <P>Hold the space modulator by the 
         <PART>handle</PART>. Make sure the 
         <PART>laser doohicky</PART> is facing away from you.</P> 

         <P>Put your finger on the <PART>trigger</PART>. 
         Aim the <PART>laser doohicky</PART> at the rabbit. 
         Pull on the <PART>trigger</PART>.</P> 

         <P>If nothing happened, blame the engineer and have him
         read <XREF IDREF="SETUP"/>. If he's drunk, have your
         manager read <XREF IDREF="OVER"/>, and then fire the engineer.</P> 

         <P>If it worked, go clean up the rabbit parts.</P> 

         </CHAPTER> 

         <CHAPTER ID="CONC"> 
         <TITLE>Conclusion</TITLE> 
         <AUDIENCE>Managers</AUDIENCE> 

         <P>We hope that your XQ39 Space Modulator gives you many 
         years of destruction and worry-free usage.</P> 

         <P>No warranty or guarantee expressed or implied.</P> 

         </CHAPTER> 

         <GLOSSARY> 
         <TERM>trigger</TERM><DEFN>The thing that makes the 
         thing shoot.</DEFN> 
         <TERM>laser doohicky</TERM><DEFN>The part that shoots.</DEFN> 
         <TERM>battery chamber</TERM><DEFN>The thing that holds the 
         batteries.</DEFN> 
         <TERM>handle</TERM><DEFN>The thing you hold.</DEFN> 

         </GLOSSARY> 

         </DOC> 

 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:46 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.