You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
391 lines
15 KiB
391 lines
15 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>
|
|
Building XHTML Modules
|
|
</title>
|
|
<link rel="stylesheet" type="text/css" media="screen" href=
|
|
"http://www.w3.org/StyleSheets/TR/W3C-WD.css" />
|
|
<link rel="stylesheet" type="text/css" media="screen" href=
|
|
"xhtml.css" /><?xml-stylesheet
|
|
href="http://www.w3.org/StyleSheets/TR/W3C-WD.css"
|
|
type="text/css" media="screen" ?><?xml-stylesheet
|
|
href="xhtml.css" type="text/css" media="screen" ?>
|
|
<link rel="next" type="text/html" href="introduction.html" />
|
|
</head>
|
|
<body>
|
|
<div class="navbar">
|
|
[<a href="introduction.html">next</a>] [<a href=
|
|
"#toc">table of contents</a>]
|
|
<hr />
|
|
</div>
|
|
<div class="head">
|
|
<a href="http://www.w3.org/"><img src=
|
|
"http://www.w3.org/Icons/WWW/w3c_home.gif" alt="W3C" /></a>
|
|
<h1>
|
|
<a name="title" id="title"></a> Building
|
|
XHTML<sup>™</sup> Modules
|
|
</h1>
|
|
<h2>
|
|
<a name="subtitle" id="subtitle"></a> W3C Working Draft 5
|
|
January 2000
|
|
</h2>
|
|
<dl>
|
|
<dt>
|
|
This version:
|
|
</dt>
|
|
<dd>
|
|
<a href=
|
|
"http://www.w3.org/TR/2000/WD-xhtml-building-20000105">
|
|
http://www.w3.org/TR/2000/WD-xhtml-building-20000105</a><br />
|
|
(<a href="xhtml-building-20000105.html">Single HTML
|
|
file</a>, <a href="xhtml-building-20000105.ps">Postscript
|
|
version</a>, <a href="xhtml-building-20000105.pdf">PDF
|
|
version</a>, <a href="xhtml-building-20000105.zip">ZIP
|
|
archive</a>, or <a href="xhtml-building-20000105.tgz">
|
|
Gzip'd TAR archive</a>)
|
|
</dd>
|
|
<dt>
|
|
Latest version:
|
|
</dt>
|
|
<dd>
|
|
<a href="http://www.w3.org/TR/xhtml-building">
|
|
http://www.w3.org/TR/xhtml-building</a>
|
|
</dd>
|
|
<dt>
|
|
Previous version:
|
|
</dt>
|
|
<dd>
|
|
<a href=
|
|
"http://www.w3.org/TR/1999/WD-xhtml-building-19990910/">
|
|
http://www.w3.org/TR/1999/WD-xhtml-building-19990910/</a>
|
|
</dd>
|
|
<dt>
|
|
Diff-marked version:
|
|
</dt>
|
|
<dd>
|
|
<a href="xhtml-building-diff-20000105.html">
|
|
xhtml-building-diff-20000105.html</a>
|
|
</dd>
|
|
<dt>
|
|
Editors:
|
|
</dt>
|
|
<dd>
|
|
<a href="mailto:altheim@eng.sun.com">Murray Altheim</a>,
|
|
Sun Microsystems<br />
|
|
<a href="mailto:s.mccarron@opengroup.org">Shane
|
|
McCarron</a>, Applied Testing and Technology
|
|
</dd>
|
|
</dl>
|
|
<p class="copyright">
|
|
<a href=
|
|
"http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">
|
|
Copyright</a> ©2000 <a href="http://www.w3.org/"><abbr
|
|
title="World Wide Web Consortium">
|
|
W3C</abbr></a><sup>®</sup> (<a href=
|
|
"http://www.lcs.mit.edu/"><abbr title="Massachusetts
|
|
Institute of Technology">MIT</abbr></a>, <a href=
|
|
"http://www.inria.fr/"><abbr lang="fr" title="Institut
|
|
National de Recherche en Informatique et Automatique">
|
|
INRIA</abbr></a>, <a href="http://www.keio.ac.jp/">
|
|
Keio</a>), All Rights Reserved. W3C <a href=
|
|
"http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">
|
|
liability</a>, <a href=
|
|
"http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">
|
|
trademark</a>, <a href=
|
|
"http://www.w3.org/Consortium/Legal/copyright-documents-19990405">
|
|
document use</a> and <a href=
|
|
"http://www.w3.org/Consortium/Legal/copyright-software-19980720">
|
|
software licensing</a> rules apply.
|
|
</p>
|
|
<hr />
|
|
</div>
|
|
<h1>
|
|
<a name="abstract" id="abstract"></a> Abstract
|
|
</h1>
|
|
<p>
|
|
This working draft defines the mechanism for defining markup
|
|
language modules that are compatible with the modularization
|
|
framework used by XHTML. This includes a definition of the
|
|
way in which an abstract module is specified, the way in
|
|
which this abstraction is mapped into an XML DTD, and the way
|
|
in which the resulting DTD module can be combined with other
|
|
XHTML DTD modules to create new markup languages. In the
|
|
future, it is expected that instructions will also be
|
|
provided for mapping the abstract specifications into an XML
|
|
Schema [<a href=
|
|
"references.html#ref_xmlschema">XMLSCHEMA</a>]. Note that the
|
|
materials in this document were formerly part of the
|
|
Modularization of XHTML document, but have been separated out
|
|
for editorial purposes.
|
|
</p>
|
|
<h1>
|
|
<a name="status" id="status"></a> Status of this document
|
|
</h1>
|
|
<p>
|
|
<em>This section describes the status of this document at the
|
|
time of its publication. Other documents may supersede this
|
|
document. The latest status of this document series is
|
|
maintained at the W3C.</em>
|
|
</p>
|
|
<p>
|
|
This is the <a href=
|
|
"http://www.w3.org/Consortium/Process/Process-19991111/#last-call">
|
|
"Last Call Working Draft"</a> of "Building XHTML Modules".
|
|
The Last Call review period ends at 2359Z on 1 Feburary 2000.
|
|
Please send review comments before the review period ends to
|
|
<a href="mailto:www-html-editor@w3.org">
|
|
www-html-editor@w3.org</a>.
|
|
</p>
|
|
<p>
|
|
The Working Group anticipates asking the W3C Director to
|
|
advance this document to Proposed Recommendation after the
|
|
Working Group processes Last Call review comments and
|
|
incorporates resolutions into the Guidelines.
|
|
</p>
|
|
<p>
|
|
This document has been produced as part of the <a href=
|
|
"http://www.w3.org/MarkUp/">W3C HTML Activity</a>. The goals
|
|
of the <a href="http://www.w3.org/MarkUp/Group/">HTML Working
|
|
Group</a> <i>(<a href=
|
|
"http://cgi.w3.org/MemberAccess/">members only</a>)</i> are
|
|
discussed in the <a href=
|
|
"http://www.w3.org/MarkUp/Group/HTMLcharter">HTML Working
|
|
Group charter</a> <i>(<a href=
|
|
"http://cgi.w3.org/MemberAccess/">members only</a>)</i>.
|
|
</p>
|
|
<p>
|
|
This is a W3C Working Draft for review by W3C Members and
|
|
other interested parties. It is a draft document and may be
|
|
updated, replaced or obsoleted by other documents at any
|
|
time. It is inappropriate to use W3C Working Drafts as
|
|
reference material or to cite them as other than "work in
|
|
progress". This is work in progress and does not imply
|
|
endorsement by, or the consensus of, either W3C or
|
|
participants of the HTML WG Group.
|
|
</p>
|
|
<p>
|
|
A list of current W3C Recommendations and other technical
|
|
documents can be found at <a href="http://www.w3.org/TR">
|
|
http://www.w3.org/TR</a>.
|
|
</p>
|
|
<h1>
|
|
<a name="toc" id="toc"></a> Quick Table of Contents
|
|
</h1>
|
|
<div class="toc">
|
|
<ul class='toc'>
|
|
<li class='tocline'>
|
|
1. <a href="introduction.html#s_intro" class="tocxref">
|
|
Introduction</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
2. <a href="terms.html#a_terms" class="tocxref">Terms and
|
|
Definitions</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
3. <a href="conformance.html#s_conform" class="tocxref">
|
|
Conformance Definition</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
4. <a href="abstraction.html#s_abstraction" class=
|
|
"tocxref">Defining Abstract Modules</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
5. <a href="xml_dtd.html#s_xmldtds" class="tocxref">XML
|
|
DTD Modules</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6. <a href="developing.html#s_developingdtds" class=
|
|
"tocxref">Developing DTDs with defined and extended
|
|
modules</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
A. <a href="references.html#a_refs" class="tocxref">
|
|
References</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<h1>
|
|
<a name="contents" id="contents"></a> Full Table of Contents
|
|
</h1>
|
|
<div class="toc">
|
|
<ul class='toc'>
|
|
<li class='tocline'>
|
|
1. <a href="introduction.html#s_intro" class="tocxref">
|
|
Introduction</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
1.1. <a href="introduction.html#s_intro_building"
|
|
class="tocxref">Why Build XHTML Modules?</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
1.2. <a href="introduction.html#s_intro_abstract"
|
|
class="tocxref">Abstract Modules</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
1.3. <a href=
|
|
"introduction.html#s_intro_xml_dtd_modules" class=
|
|
"tocxref">XML DTD Modules</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
2. <a href="terms.html#a_terms" class="tocxref">Terms and
|
|
Definitions</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
3. <a href="conformance.html#s_conform" class="tocxref">
|
|
Conformance Definition</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
3.1. <a href="conformance.html#s_conform_module"
|
|
class="tocxref">Module Conformance</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
3.2. <a href=
|
|
"conformance.html#s_conform_naming_rules" class=
|
|
"tocxref">Naming Rules</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
3.2.1. <a href="conformance.html#sec_3.2.1."
|
|
class="tocxref">Rationale for Naming Rules</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
4. <a href="abstraction.html#s_abstraction" class=
|
|
"tocxref">Defining Abstract Modules</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
4.1. <a href="abstraction.html#sec_4.1." class=
|
|
"tocxref">Syntactic Conventions</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
4.2. <a href="abstraction.html#s_common_types" class=
|
|
"tocxref">Content Types</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
4.3. <a href="abstraction.html#s_common_attrtypes"
|
|
class="tocxref">Attribute Types</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
4.4. <a href="abstraction.html#sec_4.4." class=
|
|
"tocxref">An Example Abstract Module Definition</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
4.4.1. <a href="abstraction.html#sec_4.4.1."
|
|
class="tocxref">XHTML Skiing Module</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
5. <a href="xml_dtd.html#s_xmldtds" class="tocxref">XML
|
|
DTD Modules</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
5.1. <a href="xml_dtd.html#s_facdtdcomps" class=
|
|
"tocxref">Implementing Document Model Modules in the
|
|
DTD</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
5.1.1. <a href="xml_dtd.html#ss_p14n" class=
|
|
"tocxref">Parameterization</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
5.1.2. <a href="xml_dtd.html#ss_m12n" class=
|
|
"tocxref">Modularization</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
6. <a href="developing.html#s_developingdtds" class=
|
|
"tocxref">Developing DTDs with defined and extended
|
|
modules</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
6.1. <a href="developing.html#s_dev_attrs" class=
|
|
"tocxref">Defining additional attributes</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.2. <a href="developing.html#s_dev_elems" class=
|
|
"tocxref">Defining additional elements</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.3. <a href="developing.html#s_dev_contentmodel"
|
|
class="tocxref">Defining the content model for a
|
|
collection of modules</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
6.3.1. <a href="developing.html#sec_6.3.1."
|
|
class="tocxref">Integrating a stand-alone module
|
|
into XHTML</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.3.2. <a href="developing.html#sec_6.3.2."
|
|
class="tocxref">Mixing a new module throughout
|
|
the modules in XHTML</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.4. <a href="developing.html#sec_6.4." class=
|
|
"tocxref">Creating a new DTD</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
6.4.1. <a href="developing.html#sec_6.4.1."
|
|
class="tocxref">Creating a simple DTD</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.4.2. <a href="developing.html#sec_6.4.2."
|
|
class="tocxref">Creating a DTD by extending
|
|
XHTML</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.4.3. <a href="developing.html#sec_6.4.3."
|
|
class="tocxref">Creating a DTD by removing and
|
|
replacing XHTML modules</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.4.4. <a href="developing.html#sec_6.4.4."
|
|
class="tocxref">Creating a DTD from whole
|
|
cloth</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
6.5. <a href="developing.html#sec_6.5." class=
|
|
"tocxref">Using the new DTD</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class='tocline'>
|
|
A. <a href="references.html#a_refs" class="tocxref">
|
|
References</a>
|
|
<ul class="toc">
|
|
<li class='tocline'>
|
|
A.1. <a href="references.html#a_normrefs" class=
|
|
"tocxref">Normative References</a>
|
|
</li>
|
|
<li class='tocline'>
|
|
A.2. <a href="references.html#a_inforefs" class=
|
|
"tocxref">Informative References</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<hr />
|
|
<div class="navbar">
|
|
[<a href="introduction.html">next</a>] [<a href=
|
|
"#toc">table of contents</a>]
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|