• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Combining Custom Modules wit... > A Look at the XHTML Modular Framewor...

A Look at the XHTML Modular Framework Module

Authors who want to make highly customized XHTML-based markup languages will soon become very familiar with the XHTML Modular Framework Module. This module provides the structure for the basic components that need to be "plugged in" to make the modularized scheme of XHTML work. The module can be found in its entirety in Listing 16.1, and we'll step through it piece by piece in this section.

Code Listing 16.1. The XHTML Modular Framework Module

<!-- ……………………………………………………………. -->
       <!-- XHTML Modular Framework Module  ………………………….. -->
       <!-- file: xhtml-framework-1.mod

            This is XHTML, a reformulation of HTML as a modular XML application.
            Copyright 1998–2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
            Revision: $Id: dtd_module_defs.html,v 1.7 2000/07/03 13:45:27 shane Exp $ SMI

            This DTD module is identified by the PUBLIC and SYSTEM identifiers:

              PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
              SYSTEM "xhtml-framework-1.mod"

            Revisions:
            (none)
            ………………………………………………… -->

       <!-- Modular Framework

            This required module instantiates the modules needed
            to support the XHTML modularization model, including:

               +  notations
               +  datatypes
               +  namespace-qualified names
               +  common attributes
               +  document model
               +  character entities

            The Intrinsic Events module is ignored by default but
            occurs in this module because it must be instantiated
            prior to Attributes but after Datatypes.
       -->

       <!ENTITY % xhtml-arch.module "INCLUDE" >
<![%xhtml-arch.module;[
       <!ENTITY % xhtml-arch.mod
            PUBLIC "-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN"
                   "xhtml-arch-1.mod" >
       %xhtml-arch.mod;]]>

       <!ENTITY % xhtml-notations.module "INCLUDE" >
       <![%xhtml-notations.module;[
       <!ENTITY % xhtml-notations.mod
            PUBLIC "-//W3C//NOTATIONS XHTML Notations 1.0//EN"
                   "xhtml-notations-1.mod" >
       %xhtml-notations.mod;]]>

       <!ENTITY % xhtml-datatypes.module "INCLUDE" >
       <![%xhtml-datatypes.module;[
       <!ENTITY % xhtml-datatypes.mod
            PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
                   "xhtml-datatypes-1.mod" >
       %xhtml-datatypes.mod;]]>

       <!ENTITY % xhtml-qname.module "INCLUDE" >
       <![%xhtml-qname.module;[
       <!ENTITY % xhtml-qname.mod
            PUBLIC "-//W3C//ENTITIES XHTML Qualified Names 1.0//EN"
                   "xhtml-qname-1.mod" >
       %xhtml-qname.mod;]]>

       <!ENTITY % xhtml-events.module "IGNORE" >
       <![%xhtml-events.module;[
       <!ENTITY % xhtml-events.mod
            PUBLIC "-//W3C//ENTITIES XHTML Intrinsic Events 1.0//EN"
                   "xhtml-events-1.mod" >
       %xhtml-events.mod;]]>

       <!ENTITY % xhtml-attribs.module "INCLUDE" >
       <![%xhtml-attribs.module;[
       <!ENTITY % xhtml-attribs.mod
            PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
                   "xhtml-attribs-1.mod" >
       %xhtml-attribs.mod;]]>

       <!-- placeholder for content model redeclarations -->
       <!ENTITY % xhtml-model.redecl "" >
       %xhtml-model.redecl;

       <!ENTITY % xhtml-model.module "INCLUDE" >
       <![%xhtml-model.module;[
       <!-- instantiate the Document Model module declared in the DTD driver
       -->
       %xhtml-model.mod;]]>

       <!ENTITY % xhtml-charent.module "INCLUDE" >
       <![%xhtml-charent.module;[
       <!ENTITY % xhtml-charent.mod
            PUBLIC "-//W3C//ENTITIES XHTML Character Entities 1.0//EN"
                   "xhtml-charent-1.mod" >
       %xhtml-charent.mod;]]>

       <!-- end of xhtml-framework-1.mod -->


					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint