KAL

Electronic Documents Lab #7

Processing SGML

Processing an SGML marked up document presumes that a Document Parser exists that understands the markups and their relationships to each other (i.e., the logical structure of the document).

In this lab, we will use a pre-created DTD to (1) Create a Document Parser, and (2) Process a pre-written document using the generated DocumentParser to validate that our document is marked up correctly. The Document Parser will also insert any missing tags.


NOTE: These directions were written to be executed at EVITech. Mail me for advice on how to perform these steps outside of EviTech


Step 1: Let's look at the DTD. Can you see what the tags are and what the document's logical structure is? Ask if you can't!

Step 2: Let's use SGML to create a Document Parser that will recognize a document of this type: