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.
3090 lines
130 KiB
3090 lines
130 KiB
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-REC.css" type="text/css"?>
|
|
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.0//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd'>
|
|
<html xml:lang="en" dir="ltr" about="" property="dc:language" content="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:dc='http://purl.org/dc/terms/' xmlns:bibo='http://purl.org/ontology/bibo/'
|
|
xmlns:foaf='http://xmlns.com/foaf/0.1/' xmlns:xsd='http://www.w3.org/2001/XMLSchema#'>
|
|
<head>
|
|
<meta name="generator" content="HTML Tidy, see www.w3.org" />
|
|
<title>XHTML™ Basic 1.1 - Second Edition</title>
|
|
<link rel="stylesheet" type="text/css" href="xhtml-basic.css" />
|
|
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-REC.css" />
|
|
</head>
|
|
<body>
|
|
<div class="head">
|
|
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" width="72" src="http://www.w3.org/Icons/w3c_home" /></a></p>
|
|
|
|
<h1 property='dc:title' datatype='' id="title"><acronym title="Extensible HyperText Markup Language">XHTML</acronym><span class="tm">™</span> Basic 1.1 - Second Edition</h1>
|
|
|
|
<h2 id="draft-type" property="dc:issued" datatype='xsd:dateTime' content="2010-11-23T00:00:00+0000">W3C Recommendation 23 November 2010</h2>
|
|
|
|
<dl>
|
|
<dt>This version:</dt>
|
|
|
|
<dd><a href="http://www.w3.org/TR/2010/REC-xhtml-basic-20101123">http://www.w3.org/TR/2010/REC-xhtml-basic-20101123</a></dd>
|
|
|
|
<dt>Latest version:</dt>
|
|
|
|
<dd><a href="http://www.w3.org/TR/xhtml-basic">http://www.w3.org/TR/xhtml-basic</a></dd>
|
|
|
|
<dt>Previous version:</dt>
|
|
|
|
<dd><a href="http://www.w3.org/TR/2010/PER-xhtml-basic-20101007">http://www.w3.org/TR/2010/PER-xhtml-basic-20101007</a><br />
|
|
</dd>
|
|
|
|
<dt>Diff-marked from previous version:</dt>
|
|
|
|
<dd><a href="xhtml-basic-diff.html">xhtml-basic-diff.html</a></dd>
|
|
|
|
<dt>Previous recommendation:</dt>
|
|
|
|
<dd><a href="http://www.w3.org/TR/2008/REC-xhtml-basic-20080729">http://www.w3.org/TR/2008/REC-xhtml-basic-20080729</a><br />
|
|
</dd>
|
|
|
|
<dt>Diff-marked from previous version:</dt>
|
|
|
|
<dd><a href="xhtml-basic-rec-diff.html">xhtml-basic-rec-diff.html</a></dd>
|
|
|
|
<dt>Editor:</dt>
|
|
|
|
<dd rel="bibo:editor"><span typeof="foaf:Person"><a href="http://blog.halindrome.com" content="Shane McCarron" property="foaf:name" rel="foaf:homepage">Shane McCarron</a>, <a href=
|
|
"http://www.aptest.com" rel="foaf:workplaceHomepage">Applied Testing and Technology, Inc.</a> <a href="mailto:shane@aptest.com" rel="foaf:mbox">shane@aptest.com</a></span></dd>
|
|
|
|
<dt>Version 1.1 Editors:</dt>
|
|
|
|
<dd><a href="mailto:shane@aptest.com">Shane McCarron</a>, Applied Testing and Technology, Inc.<br />
|
|
<a href="mailto:mimasa@w3.org">Masayasu Ishikawa</a>, (until March 2007 while at W3C)</dd>
|
|
|
|
<dt>Version 1.0 Editors:</dt>
|
|
|
|
<dd><a href="mailto:Mark.A.Baker@canada.sun.com">Mark Baker</a>, Sun Microsystems</dd>
|
|
|
|
<dd><a href="mailto:mimasa@w3.org">Masayasu Ishikawa</a>, (until March 2007 while at W3C)</dd>
|
|
|
|
<dd><a href="mailto:matsui@isl.mei.co.jp">Shinichi Matsui</a>, Panasonic</dd>
|
|
|
|
<dd><a href="mailto:peter.stark@ecs.ericsson.se">Peter Stark</a>, Ericsson</dd>
|
|
|
|
<dd><a href="mailto:ted.wugofski@openwave.com">Ted Wugofski</a>, Openwave Systems</dd>
|
|
|
|
<dd><a href="mailto:yam@access.co.jp">Toshihiko Yamakami</a>, ACCESS <abbr title="Company">Co.</abbr>, <abbr title="Limited">Ltd.</abbr></dd>
|
|
</dl>
|
|
|
|
<p>Please refer to the <a href="http://www.w3.org/MarkUp/2010/xhtml-basic-2nd-edition-errata.html"><strong>errata</strong></a> for this document, which may include some normative corrections. See
|
|
also <a href="http://www.w3.org/2003/03/Translations/byTechnology?technology=xhtml-basic">translations</a>.</p>
|
|
|
|
<p>This document is also available in these non-normative formats: <a href="xhtml-basic.ps">PostScript version</a>, <a href="xhtml-basic.pdf"><abbr title="Portable Document Format">PDF</abbr>
|
|
version</a>, <a href="xhtml-basic.zip">ZIP archive</a>, and <a href="xhtml-basic.tgz">Gzip'd TAR archive</a>.</p>
|
|
|
|
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2007-2010 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">
|
|
W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title=
|
|
"European Research Consortium for Informatics and Mathematics">ERCIM</acronym></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> and <a href=
|
|
"http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p>
|
|
</div>
|
|
|
|
<hr />
|
|
<h2 id="abstract">Abstract</h2>
|
|
|
|
<div property='dc:abstract' datatype=''>
|
|
<p>The <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic document type includes the minimal set of modules required to be an <acronym title="Extensible HyperText Markup
|
|
Language">XHTML</acronym> host language document type, and in addition it includes images, forms, basic tables, and object support. It is designed for Web clients that do not support the full set of
|
|
<acronym title="Extensible HyperText Markup Language">XHTML</acronym> features; for example, Web clients such as mobile phones, <acronym title="Personal Digital Assistant">PDA</acronym>s, pagers, and
|
|
set top boxes. The document type is rich enough for content authoring.</p>
|
|
|
|
<p><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic is designed as a common base that may be extended. The goal of <acronym title="Extensible HyperText Markup Language">
|
|
XHTML</acronym> Basic is to serve as a common language supported by various kinds of user agents.</p>
|
|
|
|
<p>This revision, 1.1 Second Edition, supercedes version 1.1 as defined in <a href="http://www.w3.org/TR/2008/REC-xhtml-basic-20080729">http://www.w3.org/TR/2008/REC-xhtml-basic-20080729</a>. In this
|
|
revision, an XML Schema implementation and the <code>lang</code> attribute have been added. In the update from version 1.0 to version 1.1, several new features were incorporated into the language in
|
|
order to better serve the small-device community that is this language's major user:</p>
|
|
|
|
<ol>
|
|
<li>XHTML Forms (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>Intrinsic Events (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>The value attribute for the <code>li</code> element (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>The target attribute (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>The style element (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>The style attribute (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>XHTML Presentation module (defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>])</li>
|
|
|
|
<li>The inputmode attribute (defined in <a href="#s_inputmode">Section 5</a> of this document)</li>
|
|
</ol>
|
|
|
|
<p>The document type definition is implemented using <acronym title="Extensible HyperText Markup Language">XHTML</acronym> modules as defined in "<cite><acronym title="Extensible HyperText Markup
|
|
Language">XHTML</acronym> Modularization</cite>" [<a href="#ref_xhtmlmod">XHTMLMOD</a>].</p>
|
|
</div>
|
|
|
|
<h2 id="status">Status of this Document</h2>
|
|
|
|
<p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of
|
|
this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p>
|
|
|
|
<p>This document is a W3C Recommendation and supersedes the <a href="http://www.w3.org/TR/2008/REC-xhtml-basic-20080729">29 July 2008</a> version of the XHTML Basic Recommendation. It reflects
|
|
cross-industry agreement on a set of markup language features that allows authors to create rich Web content deliverable to a wide range of devices. The only changes in this version are to add an XML
|
|
Schema implementation of the markup language and integrate the <code>lang</code> attribute to increase compatibility with User Agents and Assistive Technologies. A version that shows the specific
|
|
changes from the previous Recommendation is available in <a href="xhtml-basic-rec-diff.html">diff-marked form</a>.</p>
|
|
|
|
<p>This document has been produced by the <a href="http://www.w3.org/MarkUp/"><acronym title="World Wide Web Consortium">W3C</acronym> <acronym title="HyperText Markup Language">XHTML2</acronym>
|
|
Working Group</a> as part of the <a href="http://www.w3.org/MarkUp/Activity"><acronym title="World Wide Web Consortium">W3C</acronym> <acronym title="HyperText Markup Language">HTML</acronym>
|
|
Activity</a>. Please see the Working Group's <a href="http://www.w3.org/MarkUp/2008/xhtml-basic-11-implementation.html">implementation report</a>.</p>
|
|
|
|
<p>Please send comments about this document to <a href="mailto:www-html-editor@w3.org">www-html-editor@w3.org</a> (<a href="http://lists.w3.org/Archives/Public/www-html-editor/">archive</a>). It is
|
|
inappropriate to send discussion email to this address. Public discussion may take place on <a href="mailto:www-html@w3.org">www-html@w3.org</a> (<a href=
|
|
"http://lists.w3.org/Archives/Public/www-html/">archive</a>).</p>
|
|
|
|
<p>This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable
|
|
document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread
|
|
deployment. This enhances the functionality and interoperability of the Web.</p>
|
|
|
|
<p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure"
|
|
href="http://www.w3.org/2004/01/pp-impl/32107/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for
|
|
disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
|
|
Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p>
|
|
|
|
<h2 id="contents">Table of Contents</h2>
|
|
|
|
<div class="toc">
|
|
<ul>
|
|
<li>1. <a href="#s_intro">Introduction</a>
|
|
|
|
<ul>
|
|
<li>1.1. <a href="#s1.1"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> for Small Information Appliances</a></li>
|
|
|
|
<li>1.2. <a href="#s1.2">Background and Requirements</a></li>
|
|
|
|
<li>1.3. <a href="#s1.3">Design Rationale</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>2. <a href="#s_conformance">Conformance</a>
|
|
|
|
<ul>
|
|
<li>2.1. <a href="#s2.1">Document Conformance</a></li>
|
|
|
|
<li>2.2. <a href="#s2.2">User Agent Conformance</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>3. <a href="#s_xhtmlmodules">The <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Document Type</a></li>
|
|
|
|
<li>4. <a href="#s_howtouse">How to Use <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic</a></li>
|
|
|
|
<li>5. <a href="#s_inputmode">XHTML inputmode module</a>
|
|
|
|
<ul>
|
|
<li>5.1. <a href="#s_inputmodesyntax">inputmode Attribute Value Syntax</a></li>
|
|
|
|
<li>5.2. <a href="#s_mode-ua-behavior">User Agent Behavior</a></li>
|
|
|
|
<li>5.3. <a href="#s_mode-values">List of Tokens</a></li>
|
|
|
|
<li>5.4. <a href="#s_mode-patterns">Relationship to XML Schema pattern facets</a></li>
|
|
|
|
<li>5.5. <a href="#s_inputmode-examples">Examples</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>6. <a href="#s_acknowledgements">Acknowledgements</a></li>
|
|
|
|
<li>A. <a href="#a_refs">References</a>
|
|
|
|
<ul>
|
|
<li>A.1. <a href="#a_normrefs">Normative References</a></li>
|
|
|
|
<li>A.2. <a href="#a_inforefs">Informative References</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>B. <a href="#a_dtd"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Document Type Definition</a>
|
|
|
|
<ul>
|
|
<li>B.1. <a href="#a_catalog"><acronym title="Standard Generalized Markup Language">SGML</acronym> Open Catalog Entry for <acronym title="Extensible HyperText Markup Language">XHTML</acronym>
|
|
Basic</a></li>
|
|
|
|
<li>B.2. <a href="#a_driver"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Driver</a></li>
|
|
|
|
<li>B.3. <a href="#a_customization"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Customizations</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>C. <a href="#a_schema"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic XML Schema Definition</a>
|
|
|
|
<ul>
|
|
<li>C.1. <a href="#a_sdriver"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic XML Schema Driver</a></li>
|
|
|
|
<li>C.2. <a href="#a_smodules"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Schema Modules</a></li>
|
|
|
|
<li>C.3. <a href="#a_scustomization"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Customizations</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#s_intro' id='s_intro'>1. Introduction</h2>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s1.1' id='s1.1'>1.1. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> for Small Information Appliances</h3>
|
|
|
|
<p><acronym title="HyperText Markup Language">HTML</acronym> 4 is a powerful language for authoring Web content, but its design does not take into consideration issues pertinent to small devices,
|
|
including the implementation cost (in power, memory, <abbr title="et cetera" xml:lang="la">etc.</abbr>) of the full feature set. Consumer devices with limited resources cannot generally afford to
|
|
implement the full feature set of <acronym title="HyperText Markup Language">HTML</acronym> 4. Requiring a full-fledged computer for access to the World Wide Web excludes a large portion of the
|
|
population from consumer device access of online information and services.</p>
|
|
|
|
<p>Because there are many ways to subset <acronym title="HyperText Markup Language">HTML</acronym>, there are many almost identical subsets defined by organizations and companies. Without a common
|
|
base set of features, developing applications for a wide range of Web clients is difficult.</p>
|
|
|
|
<p>The motivation for <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic is to provide an <acronym title="Extensible HyperText Markup Language">XHTML</acronym> document type
|
|
that can be shared across communities (<acronym title="exempli gratia" xml:lang="lt">e.g.</acronym> desktop, <acronym title="Television">TV</acronym>, and mobile phones), and that is rich enough to
|
|
be used for simple content authoring. New community-wide document types can be defined by extending <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic in such a way that
|
|
<acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic documents are in the set of valid documents of the new document type. Thus an <acronym title="Extensible HyperText Markup
|
|
Language">XHTML</acronym> Basic document can be presented on the maximum number of Web clients.</p>
|
|
|
|
<p>The document type definition for <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic is implemented based on the <acronym title="Extensible HyperText Markup Language">
|
|
XHTML</acronym> modules defined in <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Modularization [<a href="#ref_xhtmlmod">XHTMLMOD</a>].</p>
|
|
|
|
<p>For information on best practices for mobile content, we refer you to [<a href="#ref_mobilebp">MOBILEBP</a>].</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s1.2' id='s1.2'>1.2. Background and Requirements</h3>
|
|
|
|
<p>Information appliances are targeted for particular uses. They support the features they need for the functions they are designed to fulfill. The following are examples of different information
|
|
appliances:</p>
|
|
|
|
<ul>
|
|
<li>Mobile phones</li>
|
|
|
|
<li>Televisions</li>
|
|
|
|
<li><acronym title="Personal Digital Assistant">PDA</acronym>s</li>
|
|
|
|
<li>Vending machines</li>
|
|
|
|
<li>Pagers</li>
|
|
|
|
<li>Car navigation systems</li>
|
|
|
|
<li>Mobile game machines</li>
|
|
|
|
<li>Digital book readers</li>
|
|
|
|
<li>Smart watches</li>
|
|
</ul>
|
|
|
|
<p>Existing subsets and variants of <acronym title="HyperText Markup Language">HTML</acronym> for these clients include Compact <acronym title="HyperText Markup Language">HTML</acronym> [<a href=
|
|
"#ref_chtml">CHTML</a>], the Wireless Markup Language [<a href="#ref_wml">WML</a>], and the "<acronym title="HyperText Markup Language">HTML</acronym> 4.0 Guidelines for Mobile Access" [<a href=
|
|
"#ref_mhtml">GUIDELINES</a>]. The common features found in these document types include:</p>
|
|
|
|
<ul>
|
|
<li>Basic text (including headings, paragraphs, and lists)</li>
|
|
|
|
<li>Hyperlinks and links to related documents</li>
|
|
|
|
<li>Basic forms</li>
|
|
|
|
<li>Basic tables</li>
|
|
|
|
<li>Images</li>
|
|
|
|
<li>Meta information</li>
|
|
</ul>
|
|
|
|
<p>This set of <acronym title="HyperText Markup Language">HTML</acronym> features has been the starting point for the design of <acronym title="Extensible HyperText Markup Language">XHTML</acronym>
|
|
Basic. Since many content developers are familiar with these <acronym title="HyperText Markup Language">HTML</acronym> features, they comprise a useful host language that may be combined with markup
|
|
modules from other languages according to the methods described in "<cite><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Modularization</cite>" [<a href=
|
|
"#ref_xhtmlmod">XHTMLMOD</a>]. For example, <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic may be extended with a custom module to support richer markup semantics in
|
|
specific environments.</p>
|
|
|
|
<p>It is not the intention of <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic to limit the functionality of future languages. But since the features in <acronym title=
|
|
"HyperText Markup Language">HTML</acronym> 4 (frames, advanced tables, <abbr title="et cetera">etc.</abbr>) were developed for a desktop computer type of client, they have proved to be inappropriate
|
|
for many non-desktop devices. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic will be extended and built upon. Extending <acronym title="Extensible HyperText Markup
|
|
Language">XHTML</acronym> from a common and basic set of features, instead of almost identical subsets or the too-large set of functions in <acronym title="HyperText Markup Language">HTML</acronym>
|
|
4, will be good for interoperability on the Web, as well as for scalability.</p>
|
|
|
|
<p>Compared to the rich functionality of <acronym title="HyperText Markup Language">HTML</acronym> 4, <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic may look like one
|
|
step back, but in fact, it is two steps forward for clients that do not need what is in <acronym title="HyperText Markup Language">HTML</acronym> 4 and for content developers who get one <acronym
|
|
title="Extensible HyperText Markup Language">XHTML</acronym> subset instead of many.</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s1.3' id='s1.3'>1.3. Design Rationale</h3>
|
|
|
|
<p>This section explains why certain <acronym title="HyperText Markup Language">HTML</acronym> features are not part of <acronym title="Extensible HyperText Markup Language">XHTML</acronym>
|
|
Basic.</p>
|
|
|
|
<h4 typeof='bibo:Chapter' about='#s1.3.1' id='s1.3.1'>1.3.1. Presentation</h4>
|
|
|
|
<p>Many simple Web clients cannot display fonts other than monospace. Bi-directional text, bold faced font, and other text extension elements are not supported.</p>
|
|
|
|
<p>It is recommended that style sheets be used to create a presentation that is appropriate for the device.</p>
|
|
|
|
<h4 typeof='bibo:Chapter' about='#s1.3.2' id='s1.3.2'>1.3.2. Tables</h4>
|
|
|
|
<p><a href="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_simpletablemodule">Basic <acronym title="Extensible HyperText Markup Language">XHTML</acronym> tables</a> ([<a href=
|
|
"#ref_xhtmlmod">XHTMLMOD</a>], section 5.6.1) are supported, but tables can be difficult to display on small devices. It is recommended that content developers follow the Web Content Accessibility
|
|
Guidelines 1.0 for <a href="http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505/#gl-table-markup">creating accessible tables</a> ([<a href="#ref_wai-webcontent">WCAG10</a>], Guideline 5). Note that in
|
|
the Basic Tables Module, nesting of tables is prohibited.</p>
|
|
|
|
<h4 typeof='bibo:Chapter' about='#s1.3.3' id='s1.3.3'>1.3.3. Frames</h4>
|
|
|
|
<p>Frames are not supported. Frames depend on a screen interface and may not be applicable to some small appliances like phones, pagers, and watches.</p>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#s_conformance' id='s_conformance'>2. Conformance</h2>
|
|
|
|
<p>This section is <em>normative.</em></p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s2.1' id='s2.1'>2.1. Document Conformance</h3>
|
|
|
|
<p>A Conforming <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic document is a document that requires only the facilities described as mandatory in this specification. Such
|
|
a document must meet all of the following criteria:</p>
|
|
|
|
<ol>
|
|
<li>The document must conform to the constraints expressed in <a href="#a_dtd">Appendix B</a> and <a href="#a_schema">Appendix C</a> .</li>
|
|
|
|
<li>The root element of the document must be <code><html></code>.</li>
|
|
|
|
<li>The name of the default namespace on the root element must be the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> namespace name, <code>http://www.w3.org/1999/xhtml</code>.
|
|
|
|
<p>The start tag MAY also contain the declaration of the XML Schema Instance Namespace and an XML Schema Instance <code>schemaLocation</code> attribute [<a class="nref" href=
|
|
"#ref_XMLSCHEMA">XMLSCHEMA</a>]. Such an attribute would associate the XHTML namespace <code>http://www.w3.org/1999/xhtml</code> with the XML Schema at the URI <code>
|
|
http://www.w3.org/MarkUp/SCHEMA/xhtml-basic11.xsd</code>.</p>
|
|
</li>
|
|
|
|
<li>There must be a DOCTYPE declaration in the document prior to the root element. If present, the public identifier included in the DOCTYPE declaration must reference the <acronym title="Document
|
|
Type Definition">DTD</acronym> found in <a href="#a_dtd">Appendix B</a> using its Formal Public Identifier. The system identifier may be modified appropriately.
|
|
|
|
<pre class="dtd">
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
|
|
"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
|
|
</pre>
|
|
</li>
|
|
|
|
<li>The <acronym title="Document Type Definition">DTD</acronym> subset must not be used to override any parameter entities in the <acronym title="Document Type Definition">DTD</acronym>.</li>
|
|
</ol>
|
|
|
|
<p>XHTML Basic 1.1 documents SHOULD be labeled with the Internet Media Type "application/xhtml+xml" as defined in [<a class="nref" href="#ref_RFC3236">RFC3236</a>]. For further information on using
|
|
media types with XHTML, see the informative note [<a class="nref" href="#ref_XHTMLMIME">XHTMLMIME</a>].</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s2.2' id='s2.2'>2.2. User Agent Conformance</h3>
|
|
|
|
<p>The user agent must conform to the "<a href="http://www.w3.org/TR/2000/REC-xhtml1-20000126/#uaconf">User Agent Conformance</a>" section of the <acronym title="Extensible HyperText Markup
|
|
Language">XHTML</acronym> 1.0 specification ([<a href="#ref_xhtml1">XHTML1</a>], section 3.2).</p>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#s_xhtmlmodules' id='s_xhtmlmodules'>3. The <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Document Type</h2>
|
|
|
|
<p>This section is <em>normative</em>.</p>
|
|
|
|
<p>The <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic document type is defined as a set of <acronym title="Extensible HyperText Markup Language">XHTML</acronym> modules.
|
|
All <acronym title="Extensible HyperText Markup Language">XHTML</acronym> modules are defined in the "<cite><acronym title="Extensible HyperText Markup Language">XHTML</acronym>
|
|
Modularization</cite>" specification [<a href="#ref_xhtmlmod">XHTMLMOD</a>].</p>
|
|
|
|
<p><acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic consists of the following <acronym title="Extensible HyperText Markup Language">XHTML</acronym> modules:</p>
|
|
|
|
<dl>
|
|
<dt>Structure Module*</dt>
|
|
|
|
<dd><code>body, head, html, title</code></dd>
|
|
|
|
<dt>Text Module*</dt>
|
|
|
|
<dd><code>abbr, acronym, address, blockquote, br, cite, code, dfn, div, em, h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var</code></dd>
|
|
|
|
<dt>Hypertext Module*</dt>
|
|
|
|
<dd><code>a</code></dd>
|
|
|
|
<dt>List Module*</dt>
|
|
|
|
<dd><code>dl, dt, dd, ol, ul, li</code></dd>
|
|
|
|
<dt>Forms Module</dt>
|
|
|
|
<dd><code>button, fieldset, form, input, label, legend, select, optgroup, option, textarea</code></dd>
|
|
|
|
<dt>Basic Tables Module</dt>
|
|
|
|
<dd><code>caption, table, td, th, tr</code></dd>
|
|
|
|
<dt>Image Module</dt>
|
|
|
|
<dd><code>img</code></dd>
|
|
|
|
<dt>Object Module</dt>
|
|
|
|
<dd><code>object, param</code></dd>
|
|
|
|
<dt>Presentation module</dt>
|
|
|
|
<dd><code>b, big, hr, i, small, sub, sup, tt</code></dd>
|
|
|
|
<dt>Metainformation Module</dt>
|
|
|
|
<dd><code>meta</code></dd>
|
|
|
|
<dt>Link Module</dt>
|
|
|
|
<dd><code>link</code></dd>
|
|
|
|
<dt>Base Module</dt>
|
|
|
|
<dd><code>base</code></dd>
|
|
|
|
<dt>Intrinsic Events module</dt>
|
|
|
|
<dd>Events attributes</dd>
|
|
|
|
<dt>Scripting module</dt>
|
|
|
|
<dd><code>script</code> and <code>noscript</code> elements</dd>
|
|
|
|
<dt>Stylesheet module</dt>
|
|
|
|
<dd><code>style</code> element</dd>
|
|
|
|
<dt><a href="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_styleattributemodule">Style Attribute Module</a> <em>Deprecated</em></dt>
|
|
|
|
<dd><code>style</code> attribute</dd>
|
|
|
|
<dt>Target Module</dt>
|
|
|
|
<dd><code>target</code> attribute.
|
|
|
|
<p><em>Note:</em></p>
|
|
|
|
<ol>
|
|
<li>The target attribute is designed to be a general hook for binding to an external environment (such as Frames, multiple windows, browser-tabbed windows); when there is no such external environment
|
|
bound to the user agent, the user agent can ignore the target attribute. When there is an external environment bound, the conformance requirements for the target attribute are defined in each
|
|
environment.</li>
|
|
|
|
<li>The content author needs to be aware that the user agent behavior for the target attribute depends on multiple factors such as the existence of an environment binding, restrictions of available
|
|
resources, existence of other applications and user preferences (such as pop-up blockers), and implementation-dependent design decisions. When there is no external environmental conformance, it is
|
|
recommended that authors do not depend on use of the target attribute.</li>
|
|
|
|
<li>It should be noted that any implementation-dependent use of the target attribute might impede interoperability.</li>
|
|
</ol>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>This specification also adds the <code>lang</code> attribute to the I18N attribute collection as defined in <a href="#ref_xhtmlmod">XHTMLMOD</a>. The <code>lang</code> attribute is defined in <a
|
|
href="#ref_html4">HTML4</a>. When this attribute and the <code>xml:lang</code> attribute are specified on the same element, the <code>xml:lang</code> attribute takes precedence. When both <code>
|
|
lang</code> and <code>xml:lang</code> are specified on the same element, they SHOULD have the same value.</p>
|
|
|
|
<p><em>(*) = This module is a required <a href="http://www.w3.org/TR/xhtml-modularization/conformance.html#s_conform_document_type">XHTML Host Language</a> module.</em></p>
|
|
|
|
<p>XHTML Basic also uses the <a href="#s_inputmode">XHTML inputmode Attribute Module</a>, as defined in this specification. This module adds the <code>inputmode</code> attribute to the <code>
|
|
input</code> and <code>textarea</code> elements of the XHTML Forms Module.</p>
|
|
|
|
<p>Finally, XHTML Basic adds the <code>value</code> attribute to the <code>li</code> element of the XHTML List Module.</p>
|
|
|
|
<p>An <acronym title="Extensible Markup Language">XML</acronym> 1.0 <acronym title="Document Type Definition">DTD</acronym> is available in <a href="#a_dtd">Appendix B.</a> An <acronym title=
|
|
"Extensible Markup Language">XML</acronym> Schema implementation is available in <a href="#a_schema">Appendix C.</a></p>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#s_howtouse' id='s_howtouse'>4. How to Use <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic</h2>
|
|
|
|
<p>Although <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic can be used as it is - a simple <acronym title="Extensible HyperText Markup Language">XHTML</acronym> language
|
|
with text, links, and images - the intention of its simple design is for use as a host language. A host language can contain a mix of vocabularies all rolled into one document type. It is natural
|
|
that <acronym title="Extensible HyperText Markup Language">XHTML</acronym> is the host language, since that is what most Web developers are used to.</p>
|
|
|
|
<p>When markup from other languages is added to <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic, the resulting document type will be an extension of <acronym title=
|
|
"Extensible HyperText Markup Language">XHTML</acronym> Basic. Content developers can develop for <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic or take advantage of the
|
|
extensions. The goal of <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic is to serve as a common language supported by various kinds of user agents.</p>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#s_inputmode' id='s_inputmode'>5. XHTML inputmode Attribute Module</h2>
|
|
|
|
<p>This section is <em>normative</em>.</p>
|
|
|
|
<p>This section was originally a component of <a href="#ref_xforms">XForms 1.0</a>, and was written by Martin Duerst.</p>
|
|
|
|
<p>The inputmode Attribute Module defines the <code>inputmode</code> attribute.</p>
|
|
|
|
<dl>
|
|
<dt>inputmode = CDATA</dt>
|
|
|
|
<dd>This attribute specifies style information for the current element.</dd>
|
|
</dl>
|
|
|
|
<p>The following table shows additional attributes for elements defined elsewhere when the inputmode module is selected.</p>
|
|
|
|
<table class="moduledef" border="1" summary="Additional Attributes for inputmode Module">
|
|
<thead>
|
|
<tr>
|
|
<th>Elements</th>
|
|
<th>Attributes</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>input&</td>
|
|
<td>inputmode (<span class="datatype">CDATA</span>)</td>
|
|
<td>When the Basic Forms or Forms Module is selected.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>textarea&</td>
|
|
<td>inputmode (<span class="datatype">CDATA</span>)</td>
|
|
<td>When the Basic Forms or Forms Module is selected.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p>The attribute <code>inputmode</code> provides a <em>hint</em> to the user agent to select an appropriate input mode for the text input expected in an associated form control. The input mode may be
|
|
a keyboard configuration, an input method editor (also called front end processor) or any other setting affecting input on the device(s) used.</p>
|
|
|
|
<p>Using <code>inputmode</code>, the author can give hints to the agent that make form input easier for the user. Authors should provide <code>inputmode</code> attributes wherever possible, making
|
|
sure that the values used cover a wide range of devices.</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s_inputmodesyntax' id='s_inputmodesyntax'>5.1 <code>inputmode</code> Attribute Value Syntax</h3>
|
|
|
|
<p>The value of the <code>inputmode</code> attribute is a white space separated list of tokens. Tokens are either sequences of alphabetic letters or absolute URIs. The later can be distinguished from
|
|
the former by noting that absolute URIs contain a ':'. Tokens are case-sensitive. All the tokens consisting of alphabetic letters only are defined in this specification, in <a href="#s_mode-values">
|
|
<b>5.3 List of Tokens</b></a> (or a successor of this specification).</p>
|
|
|
|
<p>This specification does not define any URIs for use as tokens, but allows others to define such URIs for extensibility. This may become necessary for devices with input modes that cannot be
|
|
covered by the tokens provided here. The URI should dereference to a human-readable description of the input mode associated with the use of the URI as a token. This description should describe the
|
|
input mode indicated by this token, and whether and how this token modifies other tokens or is modified by other tokens.</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s_mode-ua-behavior' id='s_mode-ua-behavior'>5.2 User Agent Behavior</h3>
|
|
|
|
<p>Upon entering an empty form control with an <code>inputmode</code> attribute, the user agent should select the input mode indicated by the <code>inputmode</code> attribute value. User agents
|
|
should not use the <code>inputmode</code> attribute to set the input mode when entering a form control with text already present. To set the appropriate input mode when entering a form control that
|
|
already contains text, user agents should rely on platform-specific conventions.</p>
|
|
|
|
<p>User agents should make available all the input modes which are supported by the (operating) system/device(s) they run on/have access to, and which are installed for regular use by the user. This
|
|
is typically only a small subset of the input modes that can be described with the tokens defined here.</p>
|
|
|
|
<div class="note">
|
|
<p><b>Note:</b></p>
|
|
|
|
<p>Additional guidelines for user agent implementation are found at <a href="#ref_uaag-1.0">[UAAG 1.0]</a>.</p>
|
|
</div>
|
|
|
|
<p>The following simple algorithm is used to define how user agents match the values of an <code>inputmode</code> attribute to the input modes they can provide. This algorithm does not have to be
|
|
implemented directly; user agents just have to behave as if they used it. The algorithm is not designed to produce "obvious" or "desirable" results for every possible combination of tokens, but to
|
|
produce correct behavior for frequent token combinations and predictable behavior in all cases.</p>
|
|
|
|
<p>First, each of the input modes available is represented by one or more lists of tokens. An input mode may correspond to more than one list of tokens; as an example, on a system set up for a Greek
|
|
user, both "greek upperCase" and "user upperCase" would correspond to the same input mode. No two lists will be the same.</p>
|
|
|
|
<p>Second, the <code>inputmode</code> attribute is scanned from front to back. For each token <var>t</var> in the <code>inputmode</code> attribute, if in the remaining lists of tokens representing
|
|
available input modes there is any list of tokens that contains <var>t</var>, then all lists of tokens representing available input modes that do not contain <var>t</var> are removed. If there is no
|
|
remaining list of tokens that contains <var>t</var>, then <var>t</var> is ignored.</p>
|
|
|
|
<p>Third, if one or more lists of tokens are left, and they all correspond to the same input mode, then this input mode is chosen. If no list is left (meaning that there was none at the start) or if
|
|
the remaining lists correspond to more than one input mode, then no input mode is chosen.</p>
|
|
|
|
<div class="example">
|
|
<p>Example: Assume the list of lists of tokens representing the available input modes is: {"cyrillic upperCase", "cyrillic lowerCase", "cyrillic", "latin", "user upperCase", "user lowerCase"}, then
|
|
the following <code>inputmode</code> values select the following input modes: "cyrillic title" selects "cyrillic", "cyrillic lowerCase" selects "cyrillic lowerCase", "lowerCase cyrillic" selects
|
|
"cyrillic lowerCase", "latin upperCase" selects "latin", but "upperCase latin" does select "cyrillic upperCase" or "user upperCase" if they correspond to the same input mode, and does not select any
|
|
input mode if "cyrillic upperCase" and "user upperCase" do not correspond to the same input mode.</p>
|
|
</div>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s_mode-values' id='s_mode-values'>5.3 List of Tokens</h3>
|
|
|
|
<p>Tokens defined in this specification are separated into two categories: <em>Script tokens</em> and <em>modifiers</em>. In <code>inputmode</code> attributes, script tokens should always be listed
|
|
before modifiers.</p>
|
|
|
|
<h4><a id="mode-scripts"></a>5.3.1 Script Tokens</h4>
|
|
|
|
<p>Script tokens provide a general indication the set of characters that is covered by an input mode. In most cases, script tokens correspond directly to <a href="#ref_unicode-scripts">[Unicode
|
|
Scripts]</a>. Some tokens correspond to the block names in Java class java.lang.Character.UnicodeBlock (<a href="#ref_java-unicode-blocks">[Java Unicode Blocks]</a>) or Unicode Block names. However,
|
|
this neither means that an input mode has to allow input for all the characters in the script or block, nor that an input mode is limited to only characters from that specific script. As an example,
|
|
a "latin" keyboard doesn't cover all the characters in the Latin script, and includes punctuation which is not assigned to the Latin script. The version of the Unicode Standard that these script
|
|
names are taken from is 3.2.</p>
|
|
|
|
<table summary="list of allowed values for attribute inputmode" border="2" frame="border">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="1" colspan="1">Input Mode Token</th>
|
|
<th rowspan="1" colspan="1">Comments</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="1" colspan="1">arabic</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">armenian</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">bengali</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">bopomofo</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">braille</td>
|
|
<td rowspan="1" colspan="1">used to input braille patterns (not to indicate a braille input device)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">buhid</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">canadianAboriginal</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">cherokee</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">cyrillic</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">deseret</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">devanagari</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">ethiopic</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">georgian</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">greek</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">gothic</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">gujarati</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">gurmukhi</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">han</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">hangul</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">hanja</td>
|
|
<td rowspan="1" colspan="1">Subset of 'han' used in writing Korean</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">hanunoo</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">hebrew</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">hiragana</td>
|
|
<td rowspan="1" colspan="1">Unicode script name (may include other Japanese scripts produced by conversion from hiragana)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">ipa</td>
|
|
<td rowspan="1" colspan="1">International Phonetic Alphabet</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">kanji</td>
|
|
<td rowspan="1" colspan="1">Subset of 'han' used in writing Japanese</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">kannada</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">katakana</td>
|
|
<td rowspan="1" colspan="1">Unicode script name (full-width, not half-width)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">khmer</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">lao</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">latin</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">malayalam</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">math</td>
|
|
<td rowspan="1" colspan="1">mathematical symbols and related characters</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">mongolian</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">myanmar</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">ogham</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">oldItalic</td>
|
|
<td rowspan="1" colspan="1">Unico de script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">oriya</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">runic</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">simplifiedHanzi</td>
|
|
<td rowspan="1" colspan="1">Subset of 'han' used in writing Simplified Chinese</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">sinhala</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">syriac</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">tagalog</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">tagbanwa</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">tamil</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">telugu</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">thaana</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">thai</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">tibetan</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">traditionalHanzi</td>
|
|
<td rowspan="1" colspan="1">Subset of 'han' used in writing Traditional Chinese</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">user</td>
|
|
<td rowspan="1" colspan="1">Special value denoting the 'native' input of the user (e.g. to input her name or text in her native language).</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">yi</td>
|
|
<td rowspan="1" colspan="1">Unicode script name</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h4><a id="mode-modifiers"></a>5.3.2 Modifier Tokens</h4>
|
|
|
|
<p>Modifier tokens can be added to the scripts they apply in order to more closely specify the kind of characters expected in the form control. Traditional PC keyboards do not need most modifier
|
|
tokens (indeed, users on such devices would be quite confused if the software decided to change case on its own; CAPS lock for upperCase may be an exception). However, modifier tokens can be very
|
|
helpful to set input modes for small devices.</p>
|
|
|
|
<table summary="list of modifier tokens for attribute inputmode" border="2" frame="border">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="1" colspan="1">Input Mode Token</th>
|
|
<th rowspan="1" colspan="1">Comments</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="1" colspan="1">lowerCase</td>
|
|
<td rowspan="1" colspan="1">lowercase (for bicameral scripts)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">upperCase</td>
|
|
<td rowspan="1" colspan="1">uppercase (for bicameral scripts)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">titleCase</td>
|
|
<td rowspan="1" colspan="1">title case (for bicameral scripts): words start with an upper case letter</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">startUpper</td>
|
|
<td rowspan="1" colspan="1">start input with one uppercase letter, then continue with lowercase letters</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">digits</td>
|
|
<td rowspan="1" colspan="1">digits of a particular script (e.g. inputmode='thai digits')</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">symbols</td>
|
|
<td rowspan="1" colspan="1">symbols, punctuation (suitable for a particular script)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">predictOn</td>
|
|
<td rowspan="1" colspan="1">text prediction switched on (e.g. for running text)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">predictOff</td>
|
|
<td rowspan="1" colspan="1">text prediction switched off (e.g. for passwords)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td rowspan="1" colspan="1">halfWidth</td>
|
|
<td rowspan="1" colspan="1">half-width compatibility forms (e.g. Katakana; deprecated)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s_mode-patterns' id='s_mode-patterns'>5.4 Relationship to XML Schema pattern facets</h3>
|
|
|
|
<p>User agents may use information available in an XML Schema pattern facet to set the input mode. Note that a pattern facet is a hard restriction on the lexical value of an instance data node, and
|
|
can specify different restrictions for different parts of the data item. Attribute <code>inputmode</code> is a soft hint about the kinds of characters that the user may most probably start to input
|
|
into the form control. Attribute <code>inputmode</code> is provided in addition to pattern facets for the following reasons:</p>
|
|
|
|
<ol>
|
|
<li>
|
|
<p>The set of allowable characters specified in a pattern may be so wide that it is not possible to deduce a reasonable input mode setting. Nevertheless, there frequently is a kind of characters that
|
|
will be input by the user with high probability. In such a case, <code>inputmode</code> allows to set the input mode for the user's convenience.</p>
|
|
</li>
|
|
|
|
<li>
|
|
<p>In some cases, it would be possible to derive the input mode setting from the pattern because the set of characters allowed in the pattern closely corresponds to a set of characters covered by an
|
|
<code>inputmode</code> attribute value. However, such a derivation would require a lot of data and calculations on the user agent.</p>
|
|
</li>
|
|
|
|
<li>
|
|
<p>Small devices may leave the checking of patterns to the server, but will easily be able to switch to those input modes that they support. Being able to make data entry for the user easier is of
|
|
particular importance on small devices.</p>
|
|
</li>
|
|
</ol>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#s_inputmode-examples' id='s_inputmode-examples'>5.5 Examples</h3>
|
|
|
|
<div class="exampleWrapper">
|
|
<p>This is an example of a form for Japanese address input.</p>
|
|
|
|
<div class="example">
|
|
<pre>
|
|
Family name: <input name="name" inputmode="kanji" />
|
|
(in kana): <input name="namekana" inputmode="katakana" />
|
|
Given name: <input name="Given" inputmode="kanji" />
|
|
(in kana): <input name="Givenkana" inputmode="katakana" />
|
|
Postal code: <input name="zip" inputmode="latin digits" />
|
|
Address: <input name="address" inputmode="kanji" />
|
|
(in kana): <input name="addresskana" inputmode="katakana" />
|
|
Email: <input name="email" inputmode="latin lowerCase" />
|
|
Telephone: <input name="tel" inputmode="latin digits" />
|
|
Comments: <textarea name="comments" inputmode="user predictOn" />
|
|
|
|
<input name="doit" type="submit" value="OK" />
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#s_acknowledgements' id='s_acknowledgements'>6. Acknowledgements</h2>
|
|
|
|
<p>Version 1.0 of this specification was prepared by the <acronym title="World Wide Web Consortium">W3C</acronym> <acronym title="HyperText Markup Language">HTML</acronym> Working Group. At the time
|
|
of publication of the first edition, the members were:</p>
|
|
|
|
<ul>
|
|
<li>Steven Pemberton, <acronym title="Centrum voor Wiskunde en Informatica" xml:lang="nl">CWI</acronym> (<acronym title="HyperText Markup Language">HTML</acronym> Working Group Chair)</li>
|
|
|
|
<li>Robert Adams, Intel (until November 2000)</li>
|
|
|
|
<li>Murray Altheim, Sun Microsystems</li>
|
|
|
|
<li>Takuya Asada, <acronym title="World Wide Web Consortium">W3C</acronym> (until October 2000)</li>
|
|
|
|
<li>Daniel Austin, Mozquito Technologies</li>
|
|
|
|
<li>Mark Baker, Sun Microsystems</li>
|
|
|
|
<li>Wayne Carr, Intel</li>
|
|
|
|
<li>Tantek Çelik, Microsoft</li>
|
|
|
|
<li>Andrew W. Donoho, <acronym title="International Business Machines">IBM</acronym></li>
|
|
|
|
<li>Herman Elenbaas, Philips Electronics</li>
|
|
|
|
<li>Beth Epperson, Netscape/<acronym title="America Online">AOL</acronym></li>
|
|
|
|
<li>Masayasu Ishikawa, <acronym title="World Wide Web Consortium">W3C</acronym> (<acronym title="HyperText Markup Language">HTML</acronym> Activity Lead)</li>
|
|
|
|
<li>Shin'ichi Matsui, Panasonic</li>
|
|
|
|
<li>Shane McCarron, Applied Testing and Technology</li>
|
|
|
|
<li>Ann Navarro, WebGeek, <abbr title="Incorporated">Inc.</abbr></li>
|
|
|
|
<li>Dave Raggett, <acronym title="World Wide Web Consortium">W3C</acronym>/Openwave Systems</li>
|
|
|
|
<li>Sebastian Schnitzenbaumer, Mozquito Technologies (until September 2000)</li>
|
|
|
|
<li>Peter Stark, Ericsson</li>
|
|
|
|
<li>Michel Suignard, Microsoft</li>
|
|
|
|
<li>Markku Vartiainen, Openwave Systems</li>
|
|
|
|
<li>Jeremy Wadsworth, Quark <abbr title="Incorporated">Inc.</abbr></li>
|
|
|
|
<li>Malte Wedel, Mozquito Technologies</li>
|
|
|
|
<li>Linda Welsh, Intel</li>
|
|
|
|
<li>Ted Wugofski, Openwave Systems</li>
|
|
</ul>
|
|
|
|
<p>Version 1.1 of this specification was produced by the W3C XHTML2 Working Group. At the time of publication, the members were:</p>
|
|
|
|
<ul>
|
|
<li>Mark Birbeck, XPort.net</li>
|
|
|
|
<li>Susan Borgrink, Progeny Systems</li>
|
|
|
|
<li>Alessio Cartocci, International Webmasters Association / HTML Writers Guild (IWA-HWG)</li>
|
|
|
|
<li>Alexander Graf, University of Innsbruck</li>
|
|
|
|
<li>Tina Holmboe, Greytower</li>
|
|
|
|
<li>John Kugelman, Progeny Systems</li>
|
|
|
|
<li>Luca Mascaro, International Webmasters Association / HTML Writers Guild (IWA-HWG)</li>
|
|
|
|
<li>Shane McCarron, Applied Testing and Technology</li>
|
|
|
|
<li>Roland Merrick (chair), IBM Corporation</li>
|
|
|
|
<li>Steven Pemberton (chair, staff contact), CWI and W3C</li>
|
|
|
|
<li>Michael Rawling, Ivis Group Limited</li>
|
|
|
|
<li>Sebastian Schnitzenbaumer, Dreamlab Technologies AG</li>
|
|
|
|
<li>Richard Schwerdtfeger, IBM Corporation</li>
|
|
|
|
<li>Elias Torres, IBM Corporation</li>
|
|
|
|
<li>Masataka Yakura, Mitsue-Links Co., Ltd.</li>
|
|
|
|
<li>Toshihiko Yamakami, ACCESS Co., Ltd.</li>
|
|
</ul>
|
|
|
|
<p>At publication of the second edition, the membership was:</p>
|
|
|
|
<ul>
|
|
<li>Roland Merrick, <acronym title="International Business Machines">IBM</acronym> (<acronym title="Extensible HyperText Markup Language">XHTML</acronym> 2 Working Group Co-Chair)</li>
|
|
|
|
<li>Steven Pemberton, <acronym title="Centrum voor Wiskunde en Informatica" xml:lang="nl">CWI</acronym> (<acronym title="Extensible HyperText Markup Language">XHTML</acronym> 2 Working Group
|
|
Co-Chair)</li>
|
|
|
|
<li>Mark Birbeck, webBackplane (Invited Expert)</li>
|
|
|
|
<li>Susan Borgrink, Progeny Systems</li>
|
|
|
|
<li>Christina Bottomley, Society for Technical Communication (STC)</li>
|
|
|
|
<li>Alessio Cartocci, International Webmasters Association / HTML Writers Guild (IWA-HWG)</li>
|
|
|
|
<li>Alexander Graf, University of Innsbruck</li>
|
|
|
|
<li>Markus Gylling, <a href="http://www.daisy.org">DAISY Consortium</a></li>
|
|
|
|
<li>Tina Holmboe, Greytower Technologies (Invited Expert)</li>
|
|
|
|
<li>John Kugelman, Progeny Systems</li>
|
|
|
|
<li>Luca Mascaro, International Webmasters Association / HTML Writers Guild (IWA-HWG)</li>
|
|
|
|
<li>Shane McCarron, Applied Testing and Technology, Inc. (Invited Expert)</li>
|
|
|
|
<li>Michael Rawling, IVIS Group Limited</li>
|
|
|
|
<li>Gregory Rosmaita, Invited Expert</li>
|
|
|
|
<li>Sebastian Schnitzenbaumer, Dreamlab Technologies AG</li>
|
|
|
|
<li>Richard Schwerdtfeger, <acronym title="International Business Machines">IBM</acronym></li>
|
|
|
|
<li>Elias Torres, <acronym title="International Business Machines">IBM</acronym></li>
|
|
|
|
<li>Masataka Yakura, Mitsue-Links Co., Ltd.</li>
|
|
|
|
<li>Toshihiko Yamakami, ACCESS Co., Ltd.</li>
|
|
</ul>
|
|
|
|
<p>Thanks to Gary Adams (Sun Microsystems), Jonny Axelsson (Metastasis design), Peter Chen (Philips), Dan Connolly (<acronym title="World Wide Web Consortium">W3C</acronym>), John Cowan (Reuters),
|
|
Martin J. Dürst (<acronym title="World Wide Web Consortium">W3C</acronym>), Johan Hjelm (Ericsson), Ian Jacobs (<acronym title="World Wide Web Consortium">W3C</acronym>), Susan Lesch (<acronym
|
|
title="World Wide Web Consortium">W3C</acronym>), Louis Theran (Nokia), Quinton Zondervan (Lotus), members of the <acronym title="World Wide Web Consortium">W3C</acronym> Mobile Access Interest
|
|
Group, the <acronym title="World Wide Web Consortium">W3C</acronym> Synchronized Multimedia Working Group, the <acronym title="World Wide Web Consortium">W3C</acronym> <acronym title="Web
|
|
Accessibility Initiative">WAI</acronym> Protocols and Formats Working Group, and the Open Mobile Alliance, for contributing, reviewing and commenting on this document.</p>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#a_refs' id='a_refs'>A. References</h2>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#a_normrefs' id='a_normrefs'>A.1. Normative References</h3>
|
|
|
|
<dl>
|
|
<dt class="normref" id="ref_html4">[HTML4]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:requires' href="http://www.w3.org/TR/1999/REC-html401-19991224"><acronym title="HyperText Markup Language">HTML</acronym> 4.01 Specification</a></cite>", <acronym title="World
|
|
Wide Web Consortium">W3C</acronym> Recommendation, D. Raggett, A. Le Hors, I. Jacobs, <abbr title="editors">eds.</abbr>, 24 December 1999. Available at: <a href=
|
|
"http://www.w3.org/TR/1999/REC-html401-19991224">http://www.w3.org/TR/1999/REC-html401-19991224</a><br />
|
|
The latest version is available at: <a href="http://www.w3.org/TR/html4">http://www.w3.org/TR/html4</a></dd>
|
|
|
|
<dt><a id="ref_RFC2854"><strong>[RFC2854]</strong></a></dt>
|
|
|
|
<dd>"<a rel='dc:requires' href="http://www.ietf.org/rfc/rfc2854.txt">The 'text/html' Media Type</a>", D. Connely, L. Masinter, January 2000.<br />
|
|
Available at: http://www.ietf.org/rfc/rfc2854.txt</dd>
|
|
|
|
<dt><a id="ref_RFC3236"><strong>[RFC3236]</strong></a></dt>
|
|
|
|
<dd>"<a rel='dc:requires' href="http://www.ietf.org/rfc/rfc3236.txt">The 'application/xhtml+xml' Media Type</a>", M. Baker, P. Stark, January 2002.<br />
|
|
Available at: http://www.ietf.org/rfc/rfc3236.txt</dd>
|
|
|
|
<dt class="normref" id="ref_xhtml1">[XHTML1]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:requires' href="http://www.w3.org/TR/2002/REC-xhtml1-20020801"><acronym title="Extensible HyperText Markup Language">XHTML</acronym> 1.0: The Extensible HyperText Markup
|
|
Language (Second Edition) - A Reformulation of <acronym title="HyperText Markup Language">HTML</acronym> 4 in <acronym title="Extensible Markup Language">XML</acronym> 1.0</a></cite>", <acronym
|
|
title="World Wide Web Consortium">W3C</acronym> Recommendation, Steven Pemberton et al., 26 January 2000, revised 1 August 2002. Available at: <a href="http://www.w3.org/TR/2002/REC-xhtml1-20020801">
|
|
http://www.w3.org/TR/2002/REC-xhtml1-20020801</a><br />
|
|
The latest version is available at: <a href="http://www.w3.org/TR/xhtml1">http://www.w3.org/TR/xhtml1</a></dd>
|
|
|
|
<dt class="normref" id="ref_xhtmlmod">[XHTMLMOD]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:requires' href="http://www.w3.org/TR/2010/REC-xhtml-modularization-20100729">Modularization of XHTML 1.1 Second Edition</a></cite>", W3C Recommendation, S. McCarron, <i><abbr
|
|
title="editor">ed.</abbr></i>, 29 July 2010.<br />
|
|
Available at: http://www.w3.org/TR/2010/REC-xhtml-modularization-20100729<br />
|
|
The <a href="http://www.w3.org/TR/xhtml-modularization">latest version</a> is available at: http://www.w3.org/TR/xhtml-modularization</dd>
|
|
|
|
<dt class="normref" id="ref_xml">[XML]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:requires' href="http://www.w3.org/TR/2006/REC-xml-20060816">Extensible Markup Language (<acronym title="Extensible Markup Language">XML</acronym>) 1.0 (Fourth
|
|
Edition)</a></cite>", <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation, T. Bray, J. Paoli, C. M. Sperberg-McQueen, E. Maler, F. Yergeau, <abbr title="editors">eds.</abbr>, 16
|
|
August 2006. Available at: <a href="http://www.w3.org/TR/2006/REC-xml-20060816">http://www.w3.org/TR/2006/REC-xml-20060816</a><br />
|
|
The latest version is available at: <a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a></dd>
|
|
|
|
<dt class="normref" id="ref_XMLSCHEMA">[XMLSCHEMA]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:requires' href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/">XML Schema Part 1: Structures Second Edition</a></cite>", W3C Recommendation, H. S. Thompson <i xml:lang=
|
|
"la">et al.</i>, <i><abbr title="editors">eds.</abbr></i>, 28 October 2004.<br />
|
|
Available at: http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/<br />
|
|
"<cite><a rel='dc:requires' href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/">XML Schema Part 2: Datatypes Second Edition</a></cite>", W3C Recommendation, P. V. Biron, A. Malhotra, <i><abbr
|
|
title="editors">eds.</abbr></i>, 28 October 2004.<br />
|
|
Available at: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</dd>
|
|
</dl>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#a_inforefs' id='a_inforefs'>A.2. Informative References</h3>
|
|
|
|
<dl>
|
|
<dt id="ref_chtml">[CHTML]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:references' href="http://www.w3.org/TR/1998/NOTE-compactHTML-19980209">Compact <acronym title="HyperText Markup Language">HTML</acronym> for Small Information
|
|
Appliances</a></cite>", <acronym title="World Wide Web Consortium">W3C</acronym> Note, T. Kamada, 9 February 1998. Available at: <a href="http://www.w3.org/TR/1998/NOTE-compactHTML-19980209">
|
|
http://www.w3.org/TR/1998/NOTE-compactHTML-19980209</a></dd>
|
|
|
|
<dt id="ref_mhtml">[GUIDELINES]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:references' href="http://www.w3.org/TR/1999/NOTE-html40-mobile-19990315"><acronym title="HyperText Markup Language">HTML</acronym> 4.0 Guidelines for Mobile Access</a></cite>,
|
|
<acronym title="World Wide Web Consortium">W3C</acronym> Note, T. Kamada, T. Asada, M. Ishikawa, S. Matsui, <abbr title="editors">eds.</abbr>, 15 March 1999. Available at: <a href=
|
|
"http://www.w3.org/TR/1999/NOTE-html40-mobile-19990315">http://www.w3.org/TR/1999/NOTE-html40-mobile-19990315</a><br />
|
|
The latest version is available at: <a href="http://www.w3.org/TR/NOTE-html40-mobile">http://www.w3.org/TR/NOTE-html40-mobile</a></dd>
|
|
|
|
<dt id="ref_java-unicode-blocks">Java Unicode Blocks</dt>
|
|
|
|
<dd><a rel='dc:references' href="http://java.sun.com/j2se/1.4/docs/api/java/lang/Character.UnicodeBlock.html"><cite>Java 2 Platform, Standard Edition, v 1.4.0 API Specification; Class
|
|
Character.UnicodeBlock</cite></a>, Sun Microsystems, Inc, 2002. Available at http://java.sun.com/j2se/1.4/docs/api/java/lang/Character.UnicodeBlock.html.</dd>
|
|
|
|
<dt id="ref_mobilebp">Mobile Web Best Practices</dt>
|
|
|
|
<dd><a rel='dc:references' href="http://www.w3.org/TR/mobile-bp/"><cite>Mobile Web Best Practices 1.0</cite></a>, W3C Recommendation, Jo Rabin, Charles McCathieNevile <abbr title="editors">
|
|
eds.</abbr>, 29 July 2009. Available at: <a href="http://www.w3.org/TR/2008/REC-mobile-bp-20080729">http://www.w3.org/TR/2008/REC-mobile-bp-20080729</a><br />
|
|
The latest version is available at: <a href="http://www.w3.org/TR/mobile-bp">http://www.w3.org/TR/mobile-bp</a></dd>
|
|
|
|
<dt id="ref_uaag-1.0">UAAG 1.0</dt>
|
|
|
|
<dd><a rel='dc:references' href="http://www.w3.org/TR/UAAG10/"><cite>User Agent Accessibility Guidelines 1.0</cite></a>, Ian Jacobs, Jon Gunderson, Eric Hansen, 2002. Working Draft available at
|
|
http://www.w3.org/TR/UAAG10/.</dd>
|
|
|
|
<dt id="ref_unicode-scripts">Unicode Scripts</dt>
|
|
|
|
<dd><a rel='dc:references' href="http://www.unicode.org/unicode/reports/tr24/"><cite>Script Names</cite></a>, Mark Davis, 2001. Unicode Technical Report #24 available at
|
|
http://www.unicode.org/unicode/reports/tr24/.</dd>
|
|
|
|
<dt id="ref_wai-webcontent">[WCAG10]</dt>
|
|
|
|
<dd>"<cite><a rel='dc:references' href="http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505">Web Content Accessibility Guidelines 1.0</a></cite>", <acronym title="World Wide Web Consortium">
|
|
W3C</acronym> Recommendation, W. Chisholm, G. Vanderheiden, I. Jacobs, <abbr title="editors">eds.</abbr>, 5 May 1999. Available at: <a href="http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505">
|
|
http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505</a><br />
|
|
The latest version is available at: <a href="http://www.w3.org/TR/WCAG10">http://www.w3.org/TR/WCAG10</a></dd>
|
|
|
|
<dt id="ref_wml">[WML]</dt>
|
|
|
|
<dd>"<cite>Wireless Markup Language Specification</cite>", <acronym title="Wireless Application Protocol">WAP</acronym> Forum <abbr title="Limited">Ltd</abbr>. The <acronym title="Wireless
|
|
Application Protocol">WAP</acronym> Forum has consolidated into the Open Mobile Alliance (<abbr title="Open Mobile Alliance">OMA</abbr>). The specification work from <acronym title="Wireless
|
|
Application Protocol">WAP</acronym> continues within <abbr title="Open Mobile Alliance">OMA</abbr> and can be found on the <abbr title="Open Mobile Alliance">OMA</abbr> Web site at: <a rel=
|
|
'dc:references' href="http://www.openmobilealliance.org/tech/affiliates/wap/wapindex.html">http://www.openmobilealliance.org/tech/affiliates/wap/wapindex.html</a></dd>
|
|
|
|
<dt><a id="ref_xforms"><strong>[XFORMS]</strong></a></dt>
|
|
|
|
<dd>"<cite><a rel='dc:references' href="http://www.w3.org/TR/2007/REC-xforms-20071029/">XForms 1.0 (Third Edition)</a></cite>", John M Boyer, 29 October 2007.<br />
|
|
<a href="http://www.w3.org/TR/xforms">Latest version</a> available at: http://www.w3.org/TR/xforms</dd>
|
|
|
|
<dt><a id="ref_XHTMLMIME"><strong>[XHTMLMIME]</strong></a></dt>
|
|
|
|
<dd>"<cite><a rel='dc:references' href="http://www.w3.org/TR/2009/NOTE-xhtml-media-types-20090116">XHTML Media Types</a></cite>", Shane McCarron, 16 January 2009, or its successors.<br />
|
|
<a href="http://www.w3.org/TR/xhtml-media-types">Latest version</a> available at: http://www.w3.org/TR/xhtml-media-types</dd>
|
|
</dl>
|
|
|
|
<!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#a_dtd' id='a_dtd'>B. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Document Type Definition</h2>
|
|
|
|
<p>This appendix is <em>normative</em>.</p>
|
|
|
|
<p>The DTD Implementation of XHTML Basic 1.1 is contained in this appendix. There are direct links to the various files, and the files are also contained in the "Gzip'd TAR" and "Zip" archives linked
|
|
to at the top of this document. Please note that the files targeted by the "latest version" links may change slowly over time. See the <a href="http://www.w3.org/MarkUp/"><acronym title="World Wide
|
|
Web Consortium">W3C</acronym> <acronym title="HyperText Markup Language">XHTML2</acronym> Working Group</a> home page for more information.</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#a_catalog' id='a_catalog'>B.1. <acronym title="Standard Generalized Markup Language">SGML</acronym> Open Catalog Entry for <acronym title="Extensible HyperText
|
|
Markup Language">XHTML</acronym> Basic</h3>
|
|
|
|
<p>This section contains the <acronym title="Standard Generalized Markup Language">SGML</acronym> Open Catalog-format definition of the public identifiers for <acronym title="Extensible HyperText
|
|
Markup Language">XHTML</acronym> Basic.</p>
|
|
|
|
<!-- INCLUDING DTD xhtml-basic11.cat -->
|
|
<p>You can download this version of this file from <a href="xhtml-basic11.cat">http://www.w3.org/TR/2009/REC-xhtml-basic-20101123/xhtml-basic11.cat</a>. The latest version is available at <a href=
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-basic11.cat">http://www.w3.org/MarkUp/DTD/xhtml-basic11.cat</a>.</p>
|
|
|
|
<pre class="dtd">
|
|
-- .......................................................................... --
|
|
-- File catalog ............................................................ --
|
|
|
|
-- XHTML Basic Catalog Data File
|
|
|
|
Revision: $Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $ SMI
|
|
|
|
See "Entity Management", SGML Open Technical Resolution 9401 for detailed
|
|
information on supplying and using catalog data. This document is available
|
|
from OASIS at URL:
|
|
|
|
<http://www.oasis-open.org/html/tr9401.html>
|
|
--
|
|
|
|
-- .......................................................................... --
|
|
-- SGML declaration associated with XML .................................... --
|
|
|
|
OVERRIDE YES
|
|
|
|
SGMLDECL "xml1.dcl"
|
|
|
|
-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --
|
|
|
|
-- XHTML Basic DTD modular driver file ..................................... --
|
|
|
|
PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "xhtml-basic11.dtd"
|
|
|
|
-- XHTML Basic framework module ............................................. --
|
|
|
|
PUBLIC "-//W3C//ENTITIES XHTML Basic 1.1 Document Model 1.0//EN" "xhtml-basic11-model-1.mod"
|
|
|
|
-- XHTML Inputmode module ............................................. --
|
|
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Inputmode 1.0//EN" "xhtml-inputmode-1.mod"
|
|
|
|
-- End of catalog data ..................................................... --
|
|
-- .......................................................................... --
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-basic11.cat -->
|
|
<h3 typeof='bibo:Chapter' about='#a_driver' id='a_driver'>B.2. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Driver</h3>
|
|
|
|
<p>This section contains the driver for the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic document type implementation as an <abbr title="Extensible Markup Language">
|
|
XML</abbr> <acronym title="Document Type Definition">DTD</acronym>. It relies upon <acronym title="Extensible HyperText Markup Language">XHTML</acronym> module implementations defined in [<a href=
|
|
"#ref_xhtmlmod">XHTMLMOD</a>].</p>
|
|
|
|
<!-- INCLUDING DTD xhtml-basic11.dtd -->
|
|
<p>You can download this version of this file from <a href="xhtml-basic11.dtd">http://www.w3.org/TR/2009/REC-xhtml-basic-20101123/xhtml-basic11.dtd</a>. The latest version is available at <a href=
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd">http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd</a>.</p>
|
|
|
|
<pre class="dtd">
|
|
<!-- XHTML Basic 1.1 DTD ...................................................... -->
|
|
<!-- file: xhtml-basic11.dtd -->
|
|
|
|
<!-- XHTML Basic 1.1 DTD
|
|
|
|
This is XHTML Basic, a proper subset of XHTML.
|
|
|
|
The Extensible HyperText Markup Language (XHTML)
|
|
Copyright 1998-2007 World Wide Web Consortium
|
|
(Massachusetts Institute of Technology, European Research Consortium
|
|
for Informatics and Mathematics, Keio University).
|
|
All Rights Reserved.
|
|
|
|
Permission to use, copy, modify and distribute the XHTML Basic DTD
|
|
and its accompanying documentation for any purpose and without fee is
|
|
hereby granted in perpetuity, provided that the above copyright notice
|
|
and this paragraph appear in all copies. The copyright holders make
|
|
no representation about the suitability of the DTD for any purpose.
|
|
|
|
It is provided "as is" without expressed or implied warranty.
|
|
|
|
Editors: Murray M. Altheim <mailto:altheim@eng.sun.com>
|
|
Peter Stark <mailto:Peter.Stark@ecs.ericsson.se>
|
|
Shane McCarron <mailto:shane@aptest.com>
|
|
Revision: $Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $
|
|
|
|
-->
|
|
<!-- This is the driver file for version 1.1 of the XHTML Basic DTD.
|
|
|
|
This DTD is identified by the PUBLIC and SYSTEM identifiers:
|
|
|
|
PUBLIC: "-//W3C//DTD XHTML Basic 1.1//EN"
|
|
SYSTEM: "http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd"
|
|
-->
|
|
<!ENTITY % XHTML.version "-//W3C//DTD XHTML Basic 1.1//EN" >
|
|
|
|
<!-- Use this URI to identify the default namespace:
|
|
|
|
"http://www.w3.org/1999/xhtml"
|
|
|
|
See the Qualified Names module for information
|
|
on the use of namespace prefixes in the DTD.
|
|
-->
|
|
<!ENTITY % NS.prefixed "IGNORE" >
|
|
<!ENTITY % XHTML.prefix "" >
|
|
|
|
<!-- Reserved for use with the XLink namespace:
|
|
-->
|
|
<!ENTITY % XLINK.xmlns "" >
|
|
<!ENTITY % XLINK.xmlns.attrib "" >
|
|
|
|
<!-- For example, if you are using XHTML Basic 1.1 directly, use
|
|
the public identifier in the DOCTYPE declaration, with the namespace
|
|
declaration on the document element to identify the default namespace:
|
|
|
|
<?xml version="1.0"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd" >
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xml:lang="en" >
|
|
...
|
|
</html>
|
|
-->
|
|
|
|
<!-- reserved for future use with document profiles -->
|
|
<!ENTITY % XHTML.profile "" >
|
|
|
|
<!-- Bidirectional Text features
|
|
This feature-test entity is used to declare elements
|
|
and attributes used for bidirectional text support.
|
|
-->
|
|
<!ENTITY % XHTML.bidi "IGNORE" >
|
|
|
|
<?doc type="doctype" role="title" { XHTML Basic 1.1 } ?>
|
|
|
|
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
|
|
<!ENTITY % xhtml-events.module "INCLUDE" >
|
|
<!ENTITY % xhtml-bdo.module "%XHTML.bidi;" >
|
|
|
|
<!-- Inline Style Module ........................................ -->
|
|
<!ENTITY % xhtml-inlstyle.module "INCLUDE" >
|
|
<![%xhtml-inlstyle.module;[
|
|
<!ENTITY % xhtml-inlstyle.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Inline Style 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-inlstyle-1.mod" >
|
|
%xhtml-inlstyle.mod;]]>
|
|
|
|
|
|
<!ENTITY % xhtml-model.mod
|
|
PUBLIC "-//W3C//ENTITIES XHTML Basic 1.1 Document Model 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-basic11-model-1.mod" >
|
|
|
|
<!-- adding the lang attribute into the I18N collection -->
|
|
|
|
<!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 % lang.attrib
|
|
"xml:lang <a href="http://www.w3.org/TR/xhtml-modularization/abstraction.html#dt_LanguageCode">%LanguageCode.datatype;</a> #IMPLIED
|
|
lang <a href="http://www.w3.org/TR/xhtml-modularization/abstraction.html#dt_LanguageCode">%LanguageCode.datatype;</a> #IMPLIED"
|
|
>
|
|
|
|
<!ENTITY % xhtml-framework.mod
|
|
PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-framework-1.mod" >
|
|
%xhtml-framework.mod;
|
|
|
|
<!ENTITY % pre.content
|
|
"( #PCDATA
|
|
| %InlStruct.class;
|
|
%InlPhras.class;
|
|
%Anchor.class;
|
|
%Inline.extra; )*"
|
|
>
|
|
|
|
<!ENTITY % xhtml-text.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Text 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-text-1.mod" >
|
|
%xhtml-text.mod;
|
|
|
|
<!ENTITY % xhtml-hypertext.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod" >
|
|
%xhtml-hypertext.mod;
|
|
|
|
<!ENTITY % xhtml-list.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-list-1.mod" >
|
|
%xhtml-list.mod;
|
|
|
|
<!-- Add in the value attribute to the li element -->
|
|
<!ATTLIST %<a href="http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#dtdelement_li.qname">li.qname</a>;
|
|
value <a href="http://www.w3.org/TR/xhtml-modularization/abstraction.html#dt_Number">%Number.datatype;</a> #IMPLIED
|
|
>
|
|
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
|
|
<!-- Scripting Module ........................................... -->
|
|
<!ENTITY % xhtml-script.module "INCLUDE" >
|
|
<![%xhtml-script.module;[
|
|
<!ENTITY % xhtml-script.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Scripting 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-script-1.mod" >
|
|
%xhtml-script.mod;]]>
|
|
|
|
<!-- Style Sheets Module ......................................... -->
|
|
<!ENTITY % xhtml-style.module "INCLUDE" >
|
|
<![%xhtml-style.module;[
|
|
<!ENTITY % xhtml-style.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Style Sheets 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-style-1.mod" >
|
|
%xhtml-style.mod;]]>
|
|
|
|
<!-- Image Module ............................................... -->
|
|
<!ENTITY % xhtml-image.module "INCLUDE" >
|
|
<![%xhtml-image.module;[
|
|
<!ENTITY % xhtml-image.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-image-1.mod" >
|
|
%xhtml-image.mod;]]>
|
|
|
|
<!-- Tables Module ............................................... -->
|
|
<!ENTITY % xhtml-table.module "INCLUDE" >
|
|
<![%xhtml-table.module;[
|
|
<!ENTITY % xhtml-table.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-basic-table-1.mod" >
|
|
%xhtml-table.mod;]]>
|
|
|
|
<!-- Forms Module ............................................... -->
|
|
<!ENTITY % xhtml-form.module "INCLUDE" >
|
|
<![%xhtml-form.module;[
|
|
<!ENTITY % xhtml-form.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Forms 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-form-1.mod" >
|
|
%xhtml-form.mod;]]>
|
|
|
|
<!-- Presentation Module ........................................ -->
|
|
<!ENTITY % xhtml-pres.module "INCLUDE" >
|
|
<![%xhtml-pres.module;[
|
|
<!ENTITY % xhtml-pres.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Presentation 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod" >
|
|
%xhtml-pres.mod;]]>
|
|
|
|
<!-- Link Element Module ........................................ -->
|
|
<!ENTITY % xhtml-link.module "INCLUDE" >
|
|
<![%xhtml-link.module;[
|
|
<!ENTITY % xhtml-link.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Link Element 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-link-1.mod" >
|
|
%xhtml-link.mod;]]>
|
|
|
|
<!-- Document Metainformation Module ............................ -->
|
|
<!ENTITY % xhtml-meta.module "INCLUDE" >
|
|
<![%xhtml-meta.module;[
|
|
<!ENTITY % xhtml-meta.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-meta-1.mod" >
|
|
%xhtml-meta.mod;]]>
|
|
|
|
<!-- Base Element Module ........................................ -->
|
|
<!ENTITY % xhtml-base.module "INCLUDE" >
|
|
<![%xhtml-base.module;[
|
|
<!ENTITY % xhtml-base.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod" >
|
|
%xhtml-base.mod;]]>
|
|
|
|
<!-- Param Element Module ....................................... -->
|
|
<!ENTITY % xhtml-param.module "INCLUDE" >
|
|
<![%xhtml-param.module;[
|
|
<!ENTITY % xhtml-param.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Param Element 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-param-1.mod" >
|
|
%xhtml-param.mod;]]>
|
|
|
|
<!-- Embedded Object Module ..................................... -->
|
|
<!ENTITY % xhtml-object.module "INCLUDE" >
|
|
<![%xhtml-object.module;[
|
|
<!ENTITY % xhtml-object.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-object-1.mod" >
|
|
%xhtml-object.mod;]]>
|
|
|
|
<!-- Inputmode Attribute Module .................................. -->
|
|
<!ENTITY % xhtml-inputmode.module "INCLUDE" >
|
|
<![%xhtml-inputmode.module;[
|
|
<!ENTITY % xhtml-inputmode.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Inputmode 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-inputmode-1.mod" >
|
|
%xhtml-inputmode.mod;]]>
|
|
|
|
<!-- Target Attribute Module .................................... -->
|
|
<!ENTITY % xhtml-target.module "INCLUDE" >
|
|
<![%xhtml-target.module;[
|
|
<!ENTITY % xhtml-target.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-target-1.mod" >
|
|
%xhtml-target.mod;]]>
|
|
|
|
|
|
<!ENTITY % xhtml-struct.mod
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
|
|
"http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod" >
|
|
%xhtml-struct.mod;
|
|
|
|
<!-- end of XHTML Basic 1.1 DTD ........................................... -->
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-basic11.dtd -->
|
|
<h3 typeof='bibo:Chapter' about='#a_customization' id='a_customization'>B.3. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Customizations</h3>
|
|
|
|
<p>An <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Family Document Type (such as <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic) must define the
|
|
content model that it uses. This is done through a separate content model module that is instantiated by the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Modular Framework.
|
|
The content model module and the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Driver (above) work together to customize the module implementations to the document
|
|
type's specific requirements. The content model module for <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic is defined below:</p>
|
|
|
|
<!-- INCLUDING DTD xhtml-basic11-model-1.mod -->
|
|
<p>You can download this version of this file from <a href="xhtml-basic11-model-1.mod">http://www.w3.org/TR/2009/REC-xhtml-basic-20101123/xhtml-basic11-model-1.mod</a>. The latest version is
|
|
available at <a href="http://www.w3.org/MarkUp/DTD/xhtml-basic11-model-1.mod">http://www.w3.org/MarkUp/DTD/xhtml-basic11-model-1.mod</a>.</p>
|
|
|
|
<pre class="dtd">
|
|
<!-- ....................................................................... -->
|
|
<!-- XHTML Basic 1.1 Document Model Module .................................... -->
|
|
<!-- file: xhtml-basic11-model-1.mod
|
|
|
|
This is XHTML Basic, a proper subset of XHTML.
|
|
Copyright 1998-2007 W3C (MIT, ERCIM, Keio), All Rights Reserved.
|
|
Revision: $Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $ SMI
|
|
|
|
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
|
|
|
|
PUBLIC "-//W3C//ENTITIES XHTML Basic 1.1 Document Model 1.0//EN"
|
|
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-basic11-model-1.mod"
|
|
|
|
Revisions:
|
|
(none)
|
|
....................................................................... -->
|
|
|
|
<!-- XHTML Basic Document Model
|
|
|
|
This module describes the groupings of elements that make up
|
|
common content models for XHTML elements.
|
|
-->
|
|
|
|
<!-- Optional Elements in head .............. -->
|
|
|
|
<!ENTITY % HeadOpts.mix
|
|
"( %script.qname; | %style.qname; | %meta.qname;
|
|
| %link.qname; | %object.qname; )*" >
|
|
|
|
<!-- script and noscript are used to contain scripts
|
|
and alternative content
|
|
-->
|
|
<!ENTITY % Script.class "| %script.qname; | %noscript.qname;" >
|
|
|
|
<!-- Miscellaneous Elements ................. -->
|
|
|
|
<!ENTITY % Misc.extra "" >
|
|
|
|
<!-- These elements are neither block nor inline, and can
|
|
essentially be used anywhere in the document body.
|
|
-->
|
|
<!ENTITY % Misc.class
|
|
"%Script.class;
|
|
%Misc.extra;"
|
|
>
|
|
|
|
<!-- Inline Elements ........................ -->
|
|
|
|
<!ENTITY % InlStruct.class "%br.qname; | %span.qname;" >
|
|
|
|
<!ENTITY % InlPhras.class
|
|
"| %em.qname; | %strong.qname; | %dfn.qname; | %code.qname;
|
|
| %samp.qname; | %kbd.qname; | %var.qname; | %cite.qname;
|
|
| %abbr.qname; | %acronym.qname; | %q.qname;" >
|
|
|
|
<!ENTITY % InlPres.class
|
|
"| %tt.qname; | %i.qname; | %b.qname; | %big.qname;
|
|
| %small.qname; | %sub.qname; | %sup.qname;" >
|
|
|
|
<!ENTITY % I18n.class "" >
|
|
|
|
<!ENTITY % Anchor.class "| %a.qname;" >
|
|
|
|
<!ENTITY % InlSpecial.class "| %img.qname; | %object.qname;" >
|
|
|
|
<!ENTITY % InlForm.class
|
|
"| %input.qname; | %select.qname; | %textarea.qname;
|
|
| %label.qname; | %button.qname;" >
|
|
|
|
<!ENTITY % Inline.extra "" >
|
|
|
|
<!ENTITY % Inline.class
|
|
"%InlStruct.class;
|
|
%InlPhras.class;
|
|
%InlPres.class;
|
|
%Anchor.class;
|
|
%InlSpecial.class;
|
|
%InlForm.class;
|
|
%Inline.extra;"
|
|
>
|
|
|
|
<!ENTITY % InlNoAnchor.class
|
|
"%InlStruct.class;
|
|
%InlPhras.class;
|
|
%InlPres.class;
|
|
%InlSpecial.class;
|
|
%InlForm.class;
|
|
%Inline.extra;"
|
|
>
|
|
|
|
<!ENTITY % InlNoAnchor.mix
|
|
"%InlNoAnchor.class;
|
|
%Misc.class;"
|
|
>
|
|
|
|
<!ENTITY % Inline.mix
|
|
"%Inline.class;
|
|
%Misc.class;"
|
|
>
|
|
|
|
<!-- Block Elements ......................... -->
|
|
|
|
<!ENTITY % Heading.class
|
|
"%h1.qname; | %h2.qname; | %h3.qname;
|
|
| %h4.qname; | %h5.qname; | %h6.qname;"
|
|
>
|
|
<!ENTITY % List.class "%ul.qname; | %ol.qname; | %dl.qname;" >
|
|
|
|
<!ENTITY % Table.class "| %table.qname;" >
|
|
|
|
<!ENTITY % Form.class "| %form.qname;" >
|
|
|
|
<!ENTITY % Fieldset.class "| %fieldset.qname;" >
|
|
|
|
<!ENTITY % BlkStruct.class "%p.qname; | %div.qname;" >
|
|
|
|
<!ENTITY % BlkPhras.class
|
|
"| %pre.qname; | %blockquote.qname; | %address.qname;"
|
|
>
|
|
|
|
<!ENTITY % BlkPres.class "| %hr.qname;" >
|
|
|
|
<!ENTITY % BlkSpecial.class
|
|
"%Table.class;
|
|
%Form.class;
|
|
%Fieldset.class;"
|
|
>
|
|
|
|
<!ENTITY % Block.extra "" >
|
|
|
|
<!ENTITY % Block.class
|
|
"%BlkStruct.class;
|
|
%BlkPhras.class;
|
|
%BlkPres.class;
|
|
%BlkSpecial.class;
|
|
%Block.extra;"
|
|
>
|
|
|
|
<!ENTITY % Block.mix
|
|
"%Heading.class;
|
|
| %List.class;
|
|
| %Block.class;
|
|
%Misc.class;"
|
|
>
|
|
|
|
<!-- All Content Elements ................... -->
|
|
|
|
<!-- declares all content except tables
|
|
-->
|
|
<!ENTITY % FlowNoTable.mix
|
|
"%Heading.class;
|
|
| %List.class;
|
|
| %BlkStruct.class;
|
|
%BlkPhras.class;
|
|
%Form.class;
|
|
%Block.extra;
|
|
| %Inline.class;
|
|
%Misc.class;"
|
|
>
|
|
|
|
<!ENTITY % Flow.mix
|
|
"%Heading.class;
|
|
| %List.class;
|
|
| %Block.class;
|
|
| %Inline.class;
|
|
%Misc.class;"
|
|
>
|
|
|
|
<!-- end of xhtml-basic11-model-1.mod -->
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-basic11-model-1.mod -->
|
|
<p>Finally, we define the new inputmode attribute module.</p>
|
|
|
|
<!-- INCLUDING DTD xhtml-inputmode-1.mod -->
|
|
<p>You can download this version of this file from <a href="xhtml-inputmode-1.mod">http://www.w3.org/TR/2009/REC-xhtml-basic-20101123/xhtml-inputmode-1.mod</a>. The latest version is available at <a
|
|
href="http://www.w3.org/MarkUp/DTD/xhtml-inputmode-1.mod">http://www.w3.org/MarkUp/DTD/xhtml-inputmode-1.mod</a>.</p>
|
|
|
|
<pre class="dtd">
|
|
<!-- ...................................................................... -->
|
|
<!-- XHTML Inputmode Module .............................................. -->
|
|
<!-- file: xhtml-inputmode-1.mod
|
|
|
|
This is XHTML, a reformulation of HTML as a modular XML application.
|
|
Copyright 1998-2007 W3C (MIT, ERCIM, Keio), All Rights Reserved.
|
|
Revision: $Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $
|
|
|
|
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
|
|
|
|
PUBLIC "-//W3C//ELEMENTS XHTML Inputmode 1.0//EN"
|
|
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-inputmode-1.mod"
|
|
|
|
Revisions:
|
|
(none)
|
|
....................................................................... -->
|
|
|
|
<!-- Inputmode
|
|
|
|
inputmode
|
|
|
|
This module declares the 'inputmode' attribute used for suggesting the
|
|
input mode associated with an input or textarea element.
|
|
-->
|
|
|
|
<!-- render in this frame -->
|
|
<!ENTITY % Inputmode.datatype "CDATA" >
|
|
|
|
<!-- add 'inputmode' attribute to 'input' element -->
|
|
<!ATTLIST %input.qname;
|
|
inputmode %Inputmode.datatype; #IMPLIED
|
|
>
|
|
|
|
<!-- add 'inputmode' attribute to 'textarea' element -->
|
|
<!ATTLIST %textarea.qname;
|
|
inputmode %Inputmode.datatype; #IMPLIED
|
|
>
|
|
|
|
<!-- end of xhtml-inputmode-1.mod -->
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-inputmode-1.mod --><!--OddPage-->
|
|
<h2 typeof='bibo:Chapter' about='#a_schema' id='a_schema'>C. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic XML Schema Definition</h2>
|
|
|
|
<p>This appendix is <em>normative</em>.</p>
|
|
|
|
<h3 typeof='bibo:Chapter' about='#a_sdriver' id='a_sdriver'>C.1. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic XML Schema Driver</h3>
|
|
|
|
<p>This section contains the driver for the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic document type implementation as an <abbr title="Extensible Markup Language">
|
|
XML</abbr> Schema. It relies upon <acronym title="Extensible HyperText Markup Language">XHTML</acronym> module implementations defined in [<a href="#ref_xhtmlmod">XHTMLMOD</a>].</p>
|
|
|
|
<!-- INCLUDING SCHEMA xhtml-basic11.xsd.mhtml -->
|
|
<pre class="dtd">
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema targetNamespace="http://www.w3.org/1999/xhtml"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
blockDefault="#all">
|
|
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This is the XML Schema driver for XHTML Basic 1.1.
|
|
Please use this namespace for XHTML elements:
|
|
"http://www.w3.org/1999/xhtml"
|
|
|
|
$Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This is XHTML Basic
|
|
Copyright &#169;1998-2008 World Wide Web Consortium
|
|
(Massachusetts Institute of Technology, European Research Consortium
|
|
for Informatics and Mathematics, Keio University).
|
|
All Rights Reserved.
|
|
|
|
Permission to use, copy, modify and distribute the XHTML Schema
|
|
modules and their accompanying xs:documentation for any purpose
|
|
and without fee is hereby granted in perpetuity, provided that the above
|
|
copyright notice and this paragraph appear in all copies.
|
|
The copyright holders make no representation about the suitability of
|
|
these XML Schema modules for any purpose.
|
|
|
|
They are provided "as is" without expressed or implied warranty.
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This is the Schema Driver file for XHTML Basic 1.1
|
|
Document Type
|
|
|
|
This schema includes
|
|
+ imports external schemas (xml.xsd)
|
|
+ refedines (and include)s schema modules for XHTML
|
|
Basic 1.1 Document Type.
|
|
+ includes Schema for Named content model for the
|
|
XHTML Basic 1.1 Document Type
|
|
|
|
XHTML Basic 1.1 Document Type includes the following Modules
|
|
|
|
XHTML Core modules (Required for XHTML Family Conformance)
|
|
+ text
|
|
+ hypertext
|
|
+ lists
|
|
+ structure (redefined)
|
|
|
|
Other XHTML modules
|
|
+ Link
|
|
+ Metainformation
|
|
+ Intrinsic Events
|
|
+ Scripting
|
|
+ Stylesheet
|
|
+ Style Attribute
|
|
+ Target
|
|
+ Inputmode
|
|
+ Base
|
|
+ Image
|
|
+ Object
|
|
+ Presentation
|
|
+ Param
|
|
+ Forms
|
|
+ Basic tables
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
|
|
schemaLocation="http://www.w3.org/2001/xml.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This import brings in the XML namespace attributes
|
|
The XML attributes are used by various modules
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:import>
|
|
|
|
<xs:include schemaLocation="xhtml-basic11-model-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Document Model module for the XHTML Basic 1.1 Document Type
|
|
This schema file defines all named models used by XHTML
|
|
Modularization Framework for XHTML Basic 1.1 Document Type
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
|
|
<xs:include schemaLocation="xhtml-basic11-modules-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Schema that includes the modules (and redefinitions)
|
|
for XHTML Basic 1.1 Document Type.
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
|
|
</xs:schema>
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-basic11.xsd.mhtml -->
|
|
<h3 typeof='bibo:Chapter' about='#a_smodules' id='a_smodules'>C.2. XHTML Basic Schema Modules</h3>
|
|
|
|
<p>XHTML Family implementations using XML Schema are required to provide their own schema module that imports the required modules from XHTML Modularization.</p>
|
|
|
|
<!-- INCLUDING SCHEMA xhtml-basic11-modules-1.xsd.mhtml -->
|
|
<pre class="dtd">
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
|
|
|
|
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
|
|
schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-datatypes-1.xsd" />
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This schema includes all modules for XHTML Basic 1.1 Document Type.
|
|
$Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $
|
|
</xs:documentation>
|
|
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
</xs:annotation>
|
|
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This schema includes all modules (and redefinitions)
|
|
for XHTML Basic 1.1 Document Type.
|
|
XHTML Basic 1.1 Document Type includes the following Modules
|
|
|
|
XHTML Core modules (Required for XHTML Family Conformance)
|
|
+ text
|
|
+ hypertext
|
|
+ lists
|
|
+ structure
|
|
|
|
Other XHTML modules
|
|
+ Link
|
|
+ Meta
|
|
+ Base
|
|
+ Image
|
|
+ Object
|
|
+ Param
|
|
+ Basic forms
|
|
+ Basic tables
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-framework-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Schema Framework Component Modules:
|
|
+ notations
|
|
+ datatypes
|
|
+ common attributes
|
|
+ character entities
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-text-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Text module
|
|
|
|
The Text module includes declarations for all core
|
|
text container elements and their attributes.
|
|
|
|
+ block phrasal
|
|
+ block structural
|
|
+ inline phrasal
|
|
+ inline structural
|
|
|
|
Elements defined here:
|
|
* address, blockquote, pre, h1, h2, h3, h4, h5, h6
|
|
* div, p
|
|
* abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
|
|
* br, span
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-hypertext-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Hypertext module
|
|
|
|
Elements defined here:
|
|
* a
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_hypertextmodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.a.attlist">
|
|
<xs:attributeGroup ref="xhtml.a.attlist"/>
|
|
<xs:attributeGroup ref="xhtml.a.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by XHTML Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.a.target.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Target Module - A Attribute Additions
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-list-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Lists module
|
|
|
|
Elements defined here:
|
|
* dt, dd, dl, ol, ul, li
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.li.attlist">
|
|
<xs:attributeGroup ref="xhtml.li.attlist"/>
|
|
<xs:attribute name="value" type="xh11d:Number"/>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-struct-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Structural module
|
|
|
|
Elements defined here:
|
|
* title, head, body, html
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.version.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by the XHTML11 Markup (for value of version attr)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attribute name="version" type="xh11d:CDATA" fixed="-//W3C//DTD XHTML Basic 1.1//EN"/>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="xhtml.body.attlist">
|
|
<xs:attributeGroup ref="xhtml.body.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Body Attlist
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.body.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by XHTML Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-pres-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Presentational module
|
|
|
|
Elements defined here:
|
|
* hr, b, big, i, small,sub, sup, tt
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_presentationmodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-link-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Link module
|
|
|
|
Elements defined here:
|
|
* link
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_linkmodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.link.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Changes to XHTML Link Attlist
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attributeGroup ref="xhtml.link.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Link Attributes (declared in Link Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.link.target.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Target Module - Attribute additions
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-meta-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Meta module
|
|
|
|
Elements defined here:
|
|
* meta
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_metamodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-base-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Base module
|
|
|
|
Elements defined here:
|
|
* base
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_basemodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.base.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Changes to XHTML base Attlist
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attributeGroup ref="xhtml.base.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Base Attributes (declared in Base Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.base.target.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Target Module - Attribute additions
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-script-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Scripting module
|
|
|
|
Elements defined here:
|
|
* script, noscript
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_scriptmodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-style-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Style module
|
|
|
|
Elements defined here:
|
|
* style
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_stylemodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-inlstyle-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Style attribute module
|
|
|
|
Attribute defined here:
|
|
* style
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_styleattributemodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-image-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Image module
|
|
|
|
Elements defined here:
|
|
* img
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_imagemodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.img.attlist">
|
|
<xs:attributeGroup ref="xhtml.img.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Image Attributes (in Image Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-object-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Object module
|
|
|
|
Elements defined here:
|
|
* object
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_objectmodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.object.attlist">
|
|
<xs:attributeGroup ref="xhtml.object.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Object Attlist
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-param-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Param module
|
|
|
|
Elements defined here:
|
|
* param
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-basic-table-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Basic Tables module
|
|
|
|
Note that this module is not used in XHTML It is designed
|
|
for use with XHTML Basic
|
|
|
|
Elements defined here:
|
|
* table, caption, tr, th, td
|
|
</xs:documentation>
|
|
<xs:documentation
|
|
source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_simpletablemodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-form-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Forms module
|
|
|
|
Elements defined here:
|
|
* form, label, input, select, optgroup, option,
|
|
* textarea, fieldset, legend, button
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule"/>
|
|
</xs:annotation>
|
|
<xs:attributeGroup name="xhtml.form.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Changes to XHTML Form Attlist
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attributeGroup ref="xhtml.form.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Form Attributes (declared in Forms Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.form.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Events Module - Attribute additions
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.form.target.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Target Module - Attribute additions
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="xhtml.input.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Changes to XHTML Form Input Element
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attributeGroup ref="xhtml.input.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Input Attributes (in Forms Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.input.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.input.inputmode.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Inputmode Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="xhtml.label.attlist">
|
|
<xs:attributeGroup ref="xhtml.label.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Label Attributes (in Forms Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.label.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="xhtml.select.attlist">
|
|
<xs:attributeGroup ref="xhtml.select.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Select Attributes (in Forms Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.select.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="xhtml.textarea.attlist">
|
|
<xs:attributeGroup ref="xhtml.textarea.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original TextArea Attributes (in Forms Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.textarea.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.input.inputmode.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Inputmode Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="xhtml.button.attlist">
|
|
<xs:attributeGroup ref="xhtml.button.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Original Button Attributes (in Forms Module)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.button.events.attlist">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Redefinition by Event Attribute Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
</xs:redefine>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-events-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Events Modules
|
|
|
|
Attributes defined here:
|
|
XHTML Event Types
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_intrinsiceventsmodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-target-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Target Attribute Module
|
|
|
|
Attributes defined here:
|
|
target
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_targetmodule"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
<xs:include schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-inputmode-1.xsd">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Inputmode Module
|
|
|
|
Attributes defined here:
|
|
inputmode
|
|
</xs:documentation>
|
|
<xs:documentation source="http://www.w3.org/TR/xhtml-basic#s_inputmode"/>
|
|
</xs:annotation>
|
|
</xs:include>
|
|
</xs:schema>
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-basic11-modules-1.xsd.mhtml -->
|
|
<h3 typeof='bibo:Chapter' about='#a_scustomization' id='a_scustomization'>C.3. <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Customizations</h3>
|
|
|
|
<p>An <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Family Document Type (such as <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic) must define the
|
|
content model that it uses. This is done through a separate content model module that is instantiated by the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Modular Framework.
|
|
The content model module and the <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic Driver (above) work together to customize the module implementations to the document
|
|
type's specific requirements. The content model module for <acronym title="Extensible HyperText Markup Language">XHTML</acronym> Basic is defined below:</p>
|
|
|
|
<!-- INCLUDING SCHEMA xhtml-basic11-model-1.xsd.mhtml -->
|
|
<pre class="dtd">
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
|
|
<xs:import
|
|
namespace="http://www.w3.org/1999/xhtml/datatypes/"
|
|
schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-datatypes-1.xsd"/>
|
|
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This is the XML Schema module of named XHTML content models for XHTML Basic 10
|
|
$Id: index.html,v 1.2 2010/11/24 21:47:40 bertails Exp $
|
|
</xs:documentation>
|
|
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
</xs:annotation>
|
|
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
XHTML Basic 1.1 Document Model
|
|
|
|
This module describes the groupings of elements/attributes
|
|
that make up common content models for XHTML elements.
|
|
XHTML has following basic content models:
|
|
xhtml.Inline.mix; character-level elements
|
|
xhtml.Block.mix; block-like elements, e.g., paragraphs and lists
|
|
xhtml.Flow.mix; any block or inline elements
|
|
xhtml.HeadOpts.mix; Head Elements
|
|
xhtml.InlinePre.mix; Special class for pre content model
|
|
xhtml.InlineNoAnchor.mix; Content model for Anchor
|
|
|
|
Any groups declared in this module may be used to create
|
|
element content models, but the above are considered 'global'
|
|
(insofar as that term applies here). XHTML has the
|
|
following Attribute Groups
|
|
xhtml.Core.extra.attrib
|
|
xhtml.I18n.extra.attrib
|
|
xhtml.Common.extra
|
|
|
|
The above attribute Groups are considered Global
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attributeGroup
|
|
name="xhtml.I18n.extra.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation> Extended I18n attribute </xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attribute name="lang" type="xh11d:LanguageCode" />
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup
|
|
name="xhtml.Common.extra">
|
|
<xs:annotation>
|
|
<xs:documentation> Extended Common Attributes </xs:documentation>
|
|
</xs:annotation>
|
|
<xs:attributeGroup
|
|
ref="xhtml.style.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
"style" attribute from Inline Style Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup ref="xhtml.Events.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Attributes from Events Module
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup
|
|
name="xhtml.Core.extra.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation> Extend Core Attributes </xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup
|
|
name="xhtml.Global.core.extra.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation> Extended Global Core Attributes </xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup
|
|
name="xhtml.Global.I18n.extra.attrib">
|
|
<xs:annotation>
|
|
<xs:documentation> Extended Global I18n attributes </xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup
|
|
name="xhtml.Global.Common.extra">
|
|
<xs:annotation>
|
|
<xs:documentation> Extended Global Common Attributes </xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attributeGroup>
|
|
<xs:group
|
|
name="xhtml.Head.extra">
|
|
<xs:sequence/>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.HeadOpts.mix">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="script"
|
|
type="xhtml.script.type"/>
|
|
<xs:element
|
|
name="style"
|
|
type="xhtml.style.type"/>
|
|
<xs:element
|
|
name="meta"
|
|
type="xhtml.meta.type"/>
|
|
<xs:element
|
|
name="link"
|
|
type="xhtml.link.type"/>
|
|
<xs:element
|
|
name="object"
|
|
type="xhtml.object.type"/>
|
|
<xs:group
|
|
ref="xhtml.Head.extra"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.head.content">
|
|
<xs:sequence>
|
|
<xs:group
|
|
ref="xhtml.HeadOpts.mix"
|
|
minOccurs="0"
|
|
maxOccurs="unbounded"/>
|
|
<xs:choice>
|
|
<xs:sequence>
|
|
<xs:element
|
|
name="title"
|
|
minOccurs="1"
|
|
maxOccurs="1"
|
|
type="xhtml.title.type"/>
|
|
<xs:group
|
|
ref="xhtml.HeadOpts.mix"
|
|
minOccurs="0"
|
|
maxOccurs="unbounded"/>
|
|
<xs:sequence
|
|
minOccurs="0">
|
|
<xs:element
|
|
name="base"
|
|
type="xhtml.base.type"/>
|
|
<xs:group
|
|
ref="xhtml.HeadOpts.mix"
|
|
minOccurs="0"
|
|
maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:sequence>
|
|
<xs:sequence>
|
|
<xs:element
|
|
name="base"
|
|
type="xhtml.base.type"
|
|
minOccurs="1"
|
|
maxOccurs="1"/>
|
|
<xs:group
|
|
ref="xhtml.HeadOpts.mix"
|
|
minOccurs="0"
|
|
maxOccurs="unbounded"/>
|
|
<xs:element
|
|
name="title"
|
|
minOccurs="1"
|
|
maxOccurs="1"
|
|
type="xhtml.title.type"/>
|
|
<xs:group
|
|
ref="xhtml.HeadOpts.mix"
|
|
minOccurs="0"
|
|
maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
</xs:group>
|
|
<!--
|
|
script and noscript are used to contain scripts
|
|
and alternative content
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Script.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="script"
|
|
type="xhtml.script.type"/>
|
|
<xs:element
|
|
name="noscript"
|
|
type="xhtml.noscript.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Misc.extra">
|
|
<xs:sequence/>
|
|
</xs:group>
|
|
<!--
|
|
These elements are neither block nor inline, and can
|
|
essentially be used anywhere in the document body.
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Misc.class">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.Script.class"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.extra"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!-- Inline Elements -->
|
|
<xs:group
|
|
name="xhtml.InlStruct.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="br"
|
|
type="xhtml.br.type"/>
|
|
<xs:element
|
|
name="span"
|
|
type="xhtml.span.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.InlPhras.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="em"
|
|
type="xhtml.em.type"/>
|
|
<xs:element
|
|
name="strong"
|
|
type="xhtml.strong.type"/>
|
|
<xs:element
|
|
name="dfn"
|
|
type="xhtml.dfn.type"/>
|
|
<xs:element
|
|
name="code"
|
|
type="xhtml.code.type"/>
|
|
<xs:element
|
|
name="samp"
|
|
type="xhtml.samp.type"/>
|
|
<xs:element
|
|
name="kbd"
|
|
type="xhtml.kbd.type"/>
|
|
<xs:element
|
|
name="var"
|
|
type="xhtml.var.type"/>
|
|
<xs:element
|
|
name="cite"
|
|
type="xhtml.cite.type"/>
|
|
<xs:element
|
|
name="abbr"
|
|
type="xhtml.abbr.type"/>
|
|
<xs:element
|
|
name="acronym"
|
|
type="xhtml.acronym.type"/>
|
|
<xs:element
|
|
name="q"
|
|
type="xhtml.q.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.InlPres.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="tt"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="i"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="b"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="big"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="small"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="sub"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="sup"
|
|
type="xhtml.InlPres.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.I18n.class" >
|
|
<xs:sequence/>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Anchor.class">
|
|
<xs:sequence>
|
|
<xs:element
|
|
name="a"
|
|
type="xhtml.a.type"/>
|
|
</xs:sequence>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.InlSpecial.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="img"
|
|
type="xhtml.img.type"/>
|
|
<xs:element
|
|
name="object"
|
|
type="xhtml.object.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.InlForm.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="input"
|
|
type="xhtml.input.type"/>
|
|
<xs:element
|
|
name="select"
|
|
type="xhtml.select.type"/>
|
|
<xs:element
|
|
name="textarea"
|
|
type="xhtml.textarea.type"/>
|
|
<xs:element
|
|
name="label"
|
|
type="xhtml.label.type"/>
|
|
<xs:element
|
|
name="button"
|
|
type="xhtml.button.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Inline.extra">
|
|
<xs:sequence/>
|
|
</xs:group>
|
|
<!--
|
|
Inline.class includes all inline elements,
|
|
used as a component in mixes
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Inline.class">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.InlStruct.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlPhras.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlPres.class"/>
|
|
<xs:group
|
|
ref="xhtml.Anchor.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlSpecial.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlForm.class"/>
|
|
<xs:group
|
|
ref="xhtml.Inline.extra"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
InlinePre.mix
|
|
Used as a component in pre model
|
|
-->
|
|
<xs:group
|
|
name="xhtml.InlinePre.mix">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.InlStruct.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlPhras.class"/>
|
|
<xs:element
|
|
name="tt"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="i"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:element
|
|
name="b"
|
|
type="xhtml.InlPres.type"/>
|
|
<xs:group
|
|
ref="xhtml.Anchor.class"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.class"/>
|
|
<xs:group
|
|
ref="xhtml.Inline.extra"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
InlNoAnchor.class includes all non-anchor inlines,
|
|
used as a component in mixes
|
|
-->
|
|
<xs:group
|
|
name="xhtml.InlNoAnchor.class">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.InlStruct.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlPhras.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlPres.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlSpecial.class"/>
|
|
<xs:group
|
|
ref="xhtml.InlForm.class"/>
|
|
<xs:group
|
|
ref="xhtml.Inline.extra"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
InlNoAnchor.mix includes all non-anchor inlines
|
|
-->
|
|
<xs:group
|
|
name="xhtml.InlNoAnchor.mix">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.InlNoAnchor.class"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
Inline.mix includes all inline elements, including Misc.class
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Inline.mix">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.Inline.class"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
In the HTML 4 DTD, heading and list elements were included
|
|
in the block group. The Heading.class and
|
|
List.class groups must now be included explicitly
|
|
on element declarations where desired.
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Heading.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="h1"
|
|
type="xhtml.h1.type"/>
|
|
<xs:element
|
|
name="h2"
|
|
type="xhtml.h2.type"/>
|
|
<xs:element
|
|
name="h3"
|
|
type="xhtml.h3.type"/>
|
|
<xs:element
|
|
name="h4"
|
|
type="xhtml.h4.type"/>
|
|
<xs:element
|
|
name="h5"
|
|
type="xhtml.h5.type"/>
|
|
<xs:element
|
|
name="h6"
|
|
type="xhtml.h6.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.List.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="ul"
|
|
type="xhtml.ul.type"/>
|
|
<xs:element
|
|
name="ol"
|
|
type="xhtml.ol.type"/>
|
|
<xs:element
|
|
name="dl"
|
|
type="xhtml.dl.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Table.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="table"
|
|
type="xhtml.table.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Form.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="form"
|
|
type="xhtml.form.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Fieldset.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="fieldset"
|
|
type="xhtml.fieldset.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.BlkStruct.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="p"
|
|
type="xhtml.p.type"/>
|
|
<xs:element
|
|
name="div"
|
|
type="xhtml.div.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.BlkPhras.class">
|
|
<xs:choice>
|
|
<xs:element
|
|
name="pre"
|
|
type="xhtml.pre.type"/>
|
|
<xs:element
|
|
name="blockquote"
|
|
type="xhtml.blockquote.type"/>
|
|
<xs:element
|
|
name="address"
|
|
type="xhtml.address.type"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.BlkPres.class">
|
|
<xs:sequence>
|
|
<xs:element
|
|
name="hr"
|
|
type="xhtml.hr.type"/>
|
|
</xs:sequence>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.BlkSpecial.class">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.Table.class"/>
|
|
<xs:group
|
|
ref="xhtml.Form.class"/>
|
|
<xs:group
|
|
ref="xhtml.Fieldset.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group
|
|
name="xhtml.Block.extra">
|
|
<xs:sequence/>
|
|
</xs:group>
|
|
<!--
|
|
Block.class includes all block elements,
|
|
used as an component in mixes
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Block.class">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.BlkStruct.class"/>
|
|
<xs:group
|
|
ref="xhtml.BlkPhras.class"/>
|
|
<xs:group
|
|
ref="xhtml.BlkPres.class"/>
|
|
<xs:group
|
|
ref="xhtml.BlkSpecial.class"/>
|
|
<xs:group
|
|
ref="xhtml.Block.extra"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
Block.mix includes all block elements plus %Misc.class;
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Block.mix">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.Heading.class"/>
|
|
<xs:group
|
|
ref="xhtml.List.class"/>
|
|
<xs:group
|
|
ref="xhtml.Block.class"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!--
|
|
All Content Elements
|
|
Flow.mix includes all text content, block and inline
|
|
Note that the "any" element included here allows us
|
|
to add data from any other namespace, a necessity
|
|
for compound document creation.
|
|
Note however that it is not possible to add
|
|
to any head level element without further
|
|
modification. To add RDF metadata to the head
|
|
of a document, modify the structure module.
|
|
-->
|
|
<xs:group
|
|
name="xhtml.Flow.mix">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.Heading.class"/>
|
|
<xs:group
|
|
ref="xhtml.List.class"/>
|
|
<xs:group
|
|
ref="xhtml.Block.class"/>
|
|
<xs:group
|
|
ref="xhtml.Inline.class"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group name="xhtml.FlowNoTable.mix">
|
|
<xs:choice>
|
|
<xs:group ref="xhtml.Heading.class"/>
|
|
<xs:group ref="xhtml.List.class"/>
|
|
<xs:group ref="xhtml.BlkStruct.class"/>
|
|
<xs:group ref="xhtml.BlkPhras.class"/>
|
|
<xs:group ref="xhtml.Form.class"/>
|
|
<xs:group ref="xhtml.Inline.class"/>
|
|
<xs:group ref="xhtml.Misc.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
|
|
<!--
|
|
BlkNoForm.mix includes all non-form block elements,
|
|
plus Misc.class
|
|
-->
|
|
<xs:group
|
|
name="xhtml.BlkNoForm.mix">
|
|
<xs:choice>
|
|
<xs:group
|
|
ref="xhtml.Heading.class"/>
|
|
<xs:group
|
|
ref="xhtml.List.class"/>
|
|
<xs:group
|
|
ref="xhtml.BlkStruct.class"/>
|
|
<xs:group
|
|
ref="xhtml.BlkPhras.class"/>
|
|
<xs:group
|
|
ref="xhtml.BlkPres.class"/>
|
|
<xs:group
|
|
ref="xhtml.Table.class"/>
|
|
<xs:group
|
|
ref="xhtml.Block.extra"/>
|
|
<xs:group
|
|
ref="xhtml.Misc.class"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:element
|
|
name="html"
|
|
type="xhtml.html.type"/>
|
|
</xs:schema>
|
|
|
|
</pre>
|
|
|
|
<!-- END OF FILE xhtml-basic11-model-1.xsd.mhtml -->
|
|
</body>
|
|
</html>
|
|
|