The Finished DTD
The fruit of your hard labor throughout these three chapters on Modularization can now be summed up in a single file, Listing 16.4, the Recipe Markup Language DTD file.
Code Listing 16.4. The Recipe Markup Language DTD
<!-- …………………………………………………………….. --> <!-- Recipe DTD ………………………………………………… --> <!-- file: recipe-1_0.dtd --> <!-- This is the DTD driver for Recipe 1.0. Please use this formal public identifier to identify it: "-//WebGeek//DTD XHTML Recipe 1.0//EN" And this namespace for recipe-unique elements: xmlns:recipe="http://www.webgeek.com/xmlns/recipe" --> <!ENTITY % XHTML.version "-//WebGeek//DTD XHTML Recipe 1.0//EN" > <!ENTITY % Recipe-qname.mod SYSTEM "recipe-qname-1.mod" > %Recipe-qname.mod; <!-- no new namespaces needed ... |
Get XHTML by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.