
Bei diesem Dokument handelt es sich um eine Übersetzung eines W3C-Textes. Dieser Text ist urheberrechtlich geschützt; bitte beachten Sie die nachfolgenden Hinweise des Originaldokuments. Die Rechte an der Übersetzung liegen bei den Übersetzern und dem Verlag Addison-Wesley. Die Übersetzung hat keine durch das W3C legitimierte, normative Wirkung. Das einzige maßgebliche Dokument ist das englische Original.
Bitte senden Sie Fehler und Korrekturen zur deutschen Fassung an die Übersetzer.
Kommentare der Übersetzer, die als solche gekennzeichnet sind, unterliegen dem Urheberrecht der Übersetzer. Sie sind nicht Bestandteil des Ursprungsdokuments.
Copyright ©2001 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.
Diese Empfehlung spezifiziert eine abstrakte Modularisierung von XHTML und eine Implementierung dieser Abstraktion unter Verwendung von XML-Dokumenttyp-Definitionen (DTDs). Diese Modularisierung stellt Mittel zur Verfügung, um Teilmengen von XHTML zu bilden und um XHTML zu erweitern; eine Eigenschaft, die für die Ausweitung von XHTML auf kommende Plattformen benötigt wird.
Dieser Abschnitt beschreibt den Status dieses Dokument zur Zeit seiner Veröffentlichung. Andere Dokumente können dieses Dokument ersetzen. Der aktuelle Status dieser Dokumentserie wird beim W3C verwaltet.
Dieses Dokument wurde von W3C-Mitglieder und anderen Interessierten begutachtet, und es wurde vom Direktor als W3C Recommendation gebilligt. Es handelt sich um ein stabiles Dokument und kann als Referenzmaterial verwendet oder als normative Referenz in anderen Dokumenten zitiert werden. Bei der Herstellung der Recommendation ist es die Rolle des W3C, die Aufmerksamkeit auf diese Spezifikation zu lenken und ihre Verbreitung zu fördern. Das verbessert die Funktionsweise und Interoperabilität des Web.
Dieses Dokument wurde von der W3C HTML Working Group (www.w3.org/MarkUp/Group/; nur für Mitglieder: cgi.w3.org/MemberAccess/AccessRequest) als Teil der W3C HTML Activity produziert. Die Ziele der HTML Working Group werden in der HTML Working Group charter (www.w3.org/MarkUp/2000/Charter) diskutiert. Der W3C-Kontakt für HTML ist Masayasu Ishikawa (mimasa@w3.org).
Die öffentliche Diskussion von HTML findet auf www-html@w3.org statt (Archiv: lists.w3.org/Archives/Public/www-html/). Zur Anmeldung schicken Sie bitte eine Mail mit dem Wort subscribe im Subject an www-html-request@w3.org.
Bitte berichten Sie Fehler in diesem Dokument an www-html-editor@w3.org (Archiv: lists.w3.org/Archives/Public/www-html-editor/). Die Liste der bekannten Fehler in dieser Spezifikation steht unter http://www.w3.org/2001/04/REC-xhtml-modularization-20010410-errata zur Verfügung.
Die englische Version dieser Spezifikation ist die einzige normative Version. Informationen über Übersetzungen von diesem Text sind unter http://www.w3.org/MarkUp/translations zu finden.
Eine Liste aktueller W3C Recommendations und anderer technischer Dokumente befindet sich unter http://www.w3.org/TR.
Dieser Abschnitt ist informell.
XHTML ist eine Neuformulierung von HTML 4 als Anwendung von XML. XHTML 1.0 [XHTML1] spezifiziert drei XML-Dokumenttypen, die zu den drei HTML 4-DTDs korrespondieren: Strict, Transitional, and Frameset. XHTML 1.0 ist die Basis einer Familie von Dokumenttypen, die eine Teilmenge von HTML bilden und HTML erweitern.
XHTML-Modularisierung ist eine Aufteilung von XHTML 1.0 – und durch Verweise auch von HTML 4 – in eine Sammlung von abstrakten Modulen, die bestimmte Funktionstypen anbieten. Diese abstrakten Module werden in dieser Spezifikation unter Verwendung von XML-Dokumenttyp-Deklarationen implementiert; eine Implementierung mit XML-Schema wird erwartet. Die Regeln zur Definition der abstrakten Module und zur Implementierung mit XML-DTDs werden ebenfalls in diesem Dokument definiert.
Diese Module können miteinander und mit anderen Modulen kombiniert werden, um Teilmengen von XHTML oder erweiterte Dokumenttypen zu schaffen, die sich als Teil der Familie von XHTML-Dokumenttypen auszeichnen.
Die Modularisierung von XHTML stellt sich der Herausforderung, wohldefinierte Mengen von XHTML-Elementen zu spezifizieren, die von Dokumentverfassern, Dokumenttyp-Architekten, anderen XML-Spezifikationen und Anwendungs- und Produktdesignern kombiniert und erweitert werden können, um es für Inhalte-Lieferanten ökonomisch tragbar zu machen, Inhalte für eine größere Zahl und ein größeres Spektrum verschiedener Plattformen zu liefern.
Während der letzten Jahre haben viele spezialisierte Märkte begonnen, HTML als eine Inhaltsprache zu sehen. Es zeichnet sich mehr und mehr die Tendenz ab, HTML über die Grenzen von zunehmend heterogenen Computerplattformen zu nutzen. Momentan gibt es den Trend, HTML auf mobile Geräte (tragbare Computer, Telefone und so weiter), Fernsehgeräte (digitales Fernsehen, fernsehbasierte Web-Browser und so weiter) und andere Geräte zu bringen. Alle dieser Geräte haben unterschiedliche Anforderungen und unterliegen verschiedenen Beschränkungen.
XHTML zu modularisieren, stellt für Produktentwickler Mittel zur Verfügung, mit denen sie angeben können, welche Elemente durch ein Gerät unterstützt werden. Sie tun dies unter Verwendung von Standardbauteilen und -methoden zur Angabe, welche Bauteile benutzt werden. Die Module dienen der Inhalte-Gemeinschaft als »Konformitätsmarken«. Die Inhalte-Gemeinschaft kann nun die installierte Basis, die eine bestimmte Sammlung von Modulen unterstützt, adressieren; im Gegensatz dazu, sich Gedanken über die installierte Basis zu machen, die diese oder jene Permutation von XHTML-Elementen unterstützt. Die Verwendung von Standards ist ein kritischer Faktor für modularisiertes XHTML, um im großen Maßstab erfolgreich zu sein. Es ist für Inhalte-Lieferanten wirtschaftlich nicht tragbar, Inhalte für alle und jede Permutation maßzuschneidern. Durch die Spezifikation eines Standards können entweder Software-Prozesse den Inhalt für ein Gerät automatisch maßschneidern, oder das Gerät kann die für die Verarbeitung eines Moduls nötige Software automatisch laden.
Modularisierung gestattet, unter Verwendung der Erweiterbarkeit von XML, auch eine Erweiterung der Layout- und Präsentationsfähigkeiten von XHTML, ohne den XHTML-Standard zu verletzen. Dieser Entwicklungspfad sorgt für einen stabilen, nützlichen und implementierbaren Rahmen für Inhalte-Lieferanten und Publizisten, das schnelle Tempo der technischen Veränderung des Web zu handhaben.
Ein XHTML-Dokumenttyp ist als eine Menge von abstrakten Modulen definiert. Ein abstraktes Modul definiert eine Art von Daten, die sich semantisch von allen anderen unterscheidet. Abstrakte Module können ohne Verständnis der ihnen zugrunde liegenden Schemata, die die Module definieren, zu Dokumenttypen kombiniert werden.
Eine Modulimplementierung besteht aus einer Menge von Elementtypen, einer Menge von Attributlistendeklarationen und einer Menge von Inhaltsmodelldeklarationen, wobei jede der drei Mengen leer sein kann. Eine Attributlistendeklaration in einem Modul darf einen Elementtyp modifizieren, der außerhalb der im Modul definierten Elementtypen steht. Und eine Inhaltsmodelldeklaration darf einen Elementtyp modifizieren, der außerhalb der im Modul definierten Elementtypen steht.
Ein Mechanismus zur Implementierung sind XML-DTDs. Eine XML-DTD ist ein Mittel, um die Struktur einer Klasse von XML-Dokumenten zu beschreiben, allgemein bekannt als XML-Dokumenttyp. XML-DTDs werden in der XML 1.0-Empfehlung beschrieben [XML]. Ein anderer Implementierungsmechanismus ist XML-Schema [XMLSCHEMA].
Ein hybrider Dokumenttyp ist ein Dokumenttyp, der aus einer Sammlung von XML-DTDs oder DTD-Modulen zusammengefügt wird. Der primäre Zweck des Rahmenwerks zur Modularisierung, das in diesem Dokument beschrieben wird, besteht darin, DTD-Autoren zu erlauben, Elemente von verschiedenen abstrakten Modulen zu hybriden Dokumenttypen zu kombinieren, Dokumente zu diesen hybriden Dokumenttyp zu erzeugen und die Gültigkeit des Dokuments bezüglich des entsprechenden hybriden Dokumenttyps zu validieren.
Einer der wertvollsten Vorteile von XML gegenüber SGML ist, dass XML den Einstiegsaufwand zur Standardisierung von Elementmengen reduziert, die Gemeinschaften erlauben, Datenaustausch in einem austauschfähigen Format zu betreiben. Jedenfalls hat die relativ statische Natur von HTML als Inhaltssprache des Web bedeutet, dass jede dieser Gemeinschaft nur wenig Hoffnung hegen konnte, dass ihre XML-Dokumenttypen eine großflächige Anerkung als Web-Standard erfahren würden. Das Rahmenwerk zur Modularisierung erlaubt die dynamische Aufnahme dieser verschiedenen Dokumenttypen durch die Familie der XHTML-Dokumenttypen. Damit wird der Aufwand zur Aufnahme dieser domänenspezifischen Vokabulare in XHTML-Dokumente weiter verringert.
Die Verwendung von wohlgeformten, aber nicht gültigen Dokumenten ist ein wichtiger Vorteil von XML. Während der Entwicklung eines Dokumenttyps ist dennoch die zusätzliche Hilfe wichtig, die ein validierender Parser zur Fehlerprüfung bietet. Die gleiche Aussage gilt für XHTML-Dokumenttypen mit Elementen von verschiedenen abstrakten Modulen.
Ein Dokument ist eine Instanz eines bestimmten Dokumenttyps, der durch die DTD definiert wird, die im Prolog des Dokuments angegeben ist. Das Validieren des Dokuments ist der Vorgang der Überprüfung, ob sich das Dokument an die Regeln in der Dokumenttyp-Definition hält.
Ein Dokument kann aus mehreren Dokumentfragmenten bestehen. Das Validieren nur von Fragmenten eines Dokuments, wobei jedes Fragment von einem verschiedenen Dokumenttyp als die anderen Fragmente im Dokument ist, liegt außerhalb der Zuständigkeit dieses Rahmenwerks – dies würde eine Technik erfordern, die noch nicht definiert ist.
Jedenfalls erlaubt es das Rahmenwerk zur Modularisierung mehrere Dokumenttyp-Definitionen zu einem neuen Dokumenttyp zusammenzufassen (zum Beispiel SVG integriert mit XHTML). Die neue Dokumenttyp-Definition kann für die normale XML 1.0-Validierung benutzt werden.
Frühere Versionen von HTML versuchten Teile des Modells zu definieren, die Benutzerprogramme brauchen, wenn sie ein Dokument formatieren. Mit dem Aufkommen von HTML 4 begann das W3C damit, Präsentation von Struktur zu trennen. XHTML 1.0 behielt diese Trennung bei und dieses Dokument fährt damit fort, HTML und seine Nachkommen auf diesem Weg weiterzuführen. In der Folge davon stellt dieses Dokument keine Anforderungen an das Formatierungsmodell für die Darstellung von Dokumenten, die gemäß der Familie von XHTML-Dokumenttypen ausgezeichnet sind.
Statt dessen empfiehlt dieses Dokument, dass sich Inhaltsverfasser auf Stilmechanismen wie CSS verlassen, um das Formatierungsmodell für ihren Inhalt zu definieren. Wenn Benutzerprogramme den Stilmechanismus unterstützen, werden Dokumente wie erwartet formatiert. Wenn Benutzerprogramme den Stilmechanismus nicht unterstützen, werden Dokumente so formatiert, wie es für dieses Benutzerprogramm angemessen ist. Dies erlaubt Benutzerprogrammen für die XHTML-Familie komplexe Formatierungsmodelle auf solchen Geräten zu unterstützen, wo es angemessen ist, und einfache Formatierungsmodelle auf solchen Geräten, wo dies angemessen ist.
Dieser Abschnitt ist informell.
Während einige Begriffe an der Stelle ihres Auftretens definiert werden, werden die folgenden Definitionen im gesamten Dokument benutzt. Die Kenntnis der XML 1.0-Empfehlung [XML] wird sehr empfohlen.
Dieser Abschnitt ist normativ.
Um sicherzustellen, dass Dokumente der XHTML-Familie zwischen Benutzerprogrammen der XHTML-Familie maximal austauschbar sind, definiert diese Spezifikation die Anforderungen sowohl an diese beiden als auch an Dokumenttypen der XHTML-Familie sehr streng. Während die Konformitätsdefinitionen in diesem Abschnitt zu finden sind, verweisen sie notwendigerweise auf normativen Text innerhalb dieser Spezifikation, innerhalb der Basisspezifikation für XHTML [XHTML1] und innerhalb anderer verwandter Spezifikationen. Nur das vollständige Lesen aller normativer Referenzen ermöglicht ein volles Verständnis der Konformitätsanforderungen an XHTML.
Die Schlüsselworte »MUSS« (»MUST«), »DARF NICHT« (»MUST NOT«), »NOTWENDIG« (»REQUIRED«), »SOLL« (»SHALL«), »SOLL NICHT« (»SHALL NOT«), »SOLLTE« (»SHOULD«), »EMPFOHLEN« (»RECOMMENDED«), »DARF« (»MAY«) und »OPTIONAL« (»OPTIONAL«) in diesem Dokument sind, wie in [RFC2119] beschrieben, zu verstehen.
Es ist möglich, vorhandene Dokumenttypen zu verändern oder völlig neue zu definieren, die die beiden in dieser Spezifikation definierten Module und weitere Module benutzen. Ein solcher Dokumenttyp ist eine »konforme XHTML Host Language«, wenn er die folgenden Kriterien erfüllt:
Es ist auch möglich, Dokumenttypen zu definieren, die auf XHTML basieren, sich aber nicht an deren Struktur halten. Solch ein Dokumenttyp ist »konform als XHTML Integration Set«, wenn er die folgenden Kriterien erfüllt:
Diese Spezifikation definiert eine Methode zur Definition von XHTML-konformen Modulen. Ein Modul ist konform zu dieser Spezifikation, wenn es die folgenden Kriterien erfüllt:
Ein zur XHTML-Familie konformes Dokument ist eine gültige Instanz eines konformen XHTML Host Language-Dokumenttyps.
Ein konformes Benutzerprogramm muss alle folgenden Kriterien erfüllen (gemäß Definition in [XHTML1]):
ID (das heißt, bei den meisten XHTML-Elementen das id-Attribut)
als Fragmentbezeichner anerkennen.Leerraum wird gemäß den nachfolgenden Regeln behandelt. Die folgenden Zeichen werden in [XML] als Leeraumzeichen definiert:
Der XML-Prozessor normalisiert die Zeilenendekodierung von unterschiedlichen System zu einem einzigen Zeilenvorschubzeichen, welches an die Anwendung weitergegeben wird.
Das Benutzerprogramm muss Leerraumzeichen, die in den vom XML-Prozessor erhaltenen Daten vorkommen, wie folgt verarbeiten:
xml:space'-Attribut auf 'preserve' gesetzt ist,
müssen Leerraumzeichen erhalten bleiben, und folglich dürfen Zeilenvorschubzeichen
innerhalb eines Blocks nicht umgewandelt werden.xml:space'-Attribut nicht auf 'preserve'
gesetzt ist, dann:
Leeraum in Attributwerten wird gemäß [XML] verarbeitet.
Anmerkung (informell): Bei der Bestimmung, wie ein Zeilenvorschubzeichen umzuwandeln ist, sollte ein Benutzerprogramm die folgenden Fälle berücksichtigen, wobei die Schrift-Eigenschaft (script) der Zeichen beiderseits des Zeilenvorschubs die Wahl der Ersetzung bestimmt. Zeichen der Allgemeinen Schrift (COMMON script) wie Interpunktion werden als gleiche Schrift wie auf der anderen Seite behandelt.
Der Unicode [UNICODE] technical report TR#24 (Script Names) stellt eine Zuweisung von Schriftnamen zu allen Zeichen zur Verfügung.
Dokumenttypen, die eine XHTML Host Language darstellen, müssen sich an
strenge Namenskonventionen halten, so dass es für Software und Anwender leicht ist,
die Verwandtschaft von Dokumenttypen mit XHTML zu erkennen. Die Namen von
Dokumenttypen, die als XML-Dokumenttyp-Definitionen implementiert sind,
sind durch Formal Public Identifiers (FPIs) definiert. Innerhalb von FPIs
werden Felder durch doppelte Schrägstriche voneinander getrennt (//).
Die verschiedenen Felder müssen wie folgt zusammengesetzt werden:
W3C.DE).Unter Verwendung dieser Regeln kann ein Name für einen konformen XHTML Host
Language-Dokumenttypen -//MyCompany//DTD XHTML MyML 1.0//EN sein.
Der Name für ein zur XHTML-Familie konformes Modul kann -//MyCompany//ELEMENTS XHTML
MyElements 1.0//EN lauten. Der Name für einen als XHTML Integration Set konformen
Dokumenttypen kann -//MyCompany//DTD Special Markup with
XHTML//EN sein.
Jedem in dieser Spezifikation definierten Modul ist ein eindeutiger Bezeichner gegeben, der den Namensregeln des vorhergehenden Abschnitts folgt. Mit der Zeit kann sich ein Modul entwickeln. Eine logische Folge einer solchen Entwicklung kann sein, dass einige Aspekte des Moduls mit ihrer vorhergehenden Definition nicht mehr kompatibel sind. Um sicherzustellen, dass Dokumenttypen, die in Bezug auf Module, die in dieser Spezifikation definiert werden, weiterhin funktionieren, werden die Bezeichner von geänderten Modulen aktualisiert. Insbesondere die Formal Public Identifier und System Identifier des Moduls werden sich ändern, indem der Versions-Bezeichner in jedem Modul geändert wird. Dokumenttypen, die den aktualisierten Funktionsumfang einbeziehen möchten, werden in ähnlicher Weise aktualisiert werden müssen.
Zusätzlich werden die früheren Versionen des Moduls auch weiterhin über ihre früheren, eindeutigen Bezeichner zugänglich sein. Auf diese Weise werden Dokumenttypen, die unter Verwendung von XHTML-Modulen entwickelt wurden, unter Benutzung ihrer ursprünglichen Definitionen nahtlos weiterfunktionieren, selbst wenn sich die Sammlung von Modulen vergrößert und entwickelt. Ebenso werden Dokumentinstanzen, die bzgl. eines Dokumenttyps geschrieben sind, unter Verwendung der früheren Moduldefinitionen auch weiterhin gültig sein.
Autoren von Modulen und Dokumenttypen der XHTML-Familie sind aufgerufen, eine ähnliche Strategie anzuwenden, um das zukünftige Funktionieren von Dokumenttypen, die auf solchen Modulen basieren, und von Dokumentinstanzen, die auf solchen Dokumenttypen basieren, zu gewährleisten.
Dieser Abschnitt ist normativ.
Ein abstraktes Modul ist eine Definition eines XHTML-Moduls, die Klartext und einige informelle Markup-Konventionen enthält. Während eine solche Definition im Allgemeinen nicht besonders hilfreich bei der maschinellen Verarbeitung von Dokumenttypen ist, ist sie eine wichtige Hilfe, damit Menschen verstehen, was in einem Modul enthalten ist. Dieser Abschnitt definiert, wie abstrakte XHTML-Module definiert sind. Es ist nicht notwendig, dass ein XHTML-konformes Modul eine abstrakte Moduldefinition zur Verfügung stellt. Dennoch ist jeder, der ein XHTML-Modul entwickelt, aufgerufen, eine Abstraktion zur Verfügung zu stellen, um die Benutzung des Moduls zu vereinfachen.
Die abstrakten Module sind nicht in einer formalen Grammatik definiert. Dennoch halten sich die Definitionen an die folgenden syntaktischen Konventionen. Diese Konventionen sind denen in XML-DTDs ähnlich und sollten jedem Autor von XML-DTDs vertraut sein. Jedes einzelne syntaktische Element kann mit anderen kombiniert werden, um einen komplexeren Ausdruck zu bilden, der zur hier definierten Algebra konform ist.
expr ?expr +expr *a , ba wird verlangt, gefolgt von Ausdruck b.a | ba oder b sind notwendig.a - ba ist erlaubt, ohne Elemente aus b.&).*).|), eingeschlossen in Klammern hinter
dem Attributnamen. Falls das Attribut einen Vorgabewert hat, folgt diesem Wert ein
Stern (*). Falls das Attribut einen festen Wert hat, folgt dem Attributnamen
ein Gleichheitszeichen
(=) und der in Anführungszeichen eingeschlossene feste Wert.Die Definitionen abstrakter Module definieren minimale, atomare Inhaltsmodelle für jedes Modul. Diese minimalen Inhaltsmodelle referenzieren die Elemente im selben Modul. Die können außerdem Elemente in anderen Modulen, auf denen dieses abstrakte Modul aufbaut, referenzieren. Schließlich erfordert das Inhaltsmodell in vielen Fällen, dass Text als Inhalt von einem oder mehreren Elementen zugelassen ist. In diesen Fällen wird PCDATA als Symbol für Text benutzt. Dies ist ein Ausdruck, definiert in der XML 1.0-Empfehlung, der für »Processed Character Data« steht. Ein Inhaltstyp kann auch als EMPTY definiert werden, was bedeutet, dass das Element in seinem minimalen Inhaltsmodell keinen Inhalt hat.
In einigen Fällen ist es notwendig, die Typen der Attributwerte zu definieren beziehungsweise die Menge der erlaubten Werte explizit vorzugeben. Die folgenden Attributtypen (definiert in der XML 1.0-Empfehlung) werden in den Definitionen der abstrakten Module verwendet:
| Attributtypen | Definition |
|---|---|
| CDATA | Zeichendaten (Character data) |
| ID | Ein dokumentweit eindeutiger Bezeichner |
| IDREF | Eine Referenz auf einen dokumentweit eindeutigen Bezeichner |
| IDREFS | Eine Leerzeichen-getrennte Liste von Referenzen auf dokumentweit eindeutige Bezeichner |
| NAME | Ein Name mit denselben Zeichenbeschränkungen wie ID |
| NMTOKEN | Ein Name, der nur aus Name Tokens gemäß Definition in XML 1.0 [XML] besteht |
| NMTOKENS | Ein oder mehrere, durch Leerzeichen getrennte NMTOKEN-Werte |
| PCDATA | Processed character data |
Zusätzlich zu diesen vordefinierten Datentypen definiert »Modularisierung von XHTML« die folgenden Datentypen und ihre Semantiken (soweit sinnvoll):
| Datentyp | beschreibung | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Zeichen (Character) | Ein einzelnes Zeichen aus [ISO10646]. | ||||||||||||||||||||||||||||||||
| Zeichensatz (Charset) | Eine Zeichenkodierung gemäß [RFC2045]. | ||||||||||||||||||||||||||||||||
| Zeichensätze (Charsets) | Eine durch Leerzeichen getrennte Liste von Zeichenkodierungen gemäß [RFC2045]. | ||||||||||||||||||||||||||||||||
| Farbe (Color) | Der Attributwerttyp »Farbe« bezieht sich auf Farbdefinitionen gemäß [SRGB]. Ein Farbwert darf entweder eine hexadezimale Zahl (eingeleitet durch ein Doppelkreuz) oder einer der folgenden 16 Farbnamen sein. Die Farbnamen sind unabhängig von Groß/Kleinschreibung.
Also bezeichnen der Farbwert »#800080« und »Purple« beide die Farbe Violett. |
||||||||||||||||||||||||||||||||
| Inhaltstyp (ContentType) | Ein Medientyp gemäß [RFC2045]. | ||||||||||||||||||||||||||||||||
| Inhaltstypen (ContentTypes) | Eine Komma-separierte Liste von Medientypen gemäß [RFC2045]. | ||||||||||||||||||||||||||||||||
| Koordinaten (Coords) | Eine Komma-separierte Liste von Koordinaten zur Definition von Gebieten. | ||||||||||||||||||||||||||||||||
| Datum/Zeit (Datetime) | Information über Datum und Zeit. | ||||||||||||||||||||||||||||||||
| FPI | Eine Zeichenkette, die einen »SGML Formal Public Identifier« darstellt. | ||||||||||||||||||||||||||||||||
| FrameTarget | Ein Frame-Name, der als Ziel des Ergebnisses bestimmter Aktionen dient. | ||||||||||||||||||||||||||||||||
| Sprach-Code (LanguageCode) | Ein Sprach-Code gemäß [RFC3066]. | ||||||||||||||||||||||||||||||||
| Länge (Length) | Der Wert darf entweder in Pixeln oder als Prozentangabe bezüglich des verfügbaren horizontalen oder vertikalen Raums angegeben werden. Also bedeutet der Wert »50%« die Hälfte des verfügbaren Platzes. | ||||||||||||||||||||||||||||||||
| Link-Typen (LinkTypes) |
Auteren können die folgenden Link-Typen verwenden, die hier mit ihrer üblichen Interpretation aufgeführt sind. Ein Link-Typ-Wert verweist auf eine Leerzeichen-getrennte Liste von Link-Typen. Leeraumzeichen sind innerhalb von Link-Typen nicht erlaubt. Diese Link-Typen sind von Groß/Kleinschreibung unabhängig, das heißt, »Alternate« hat dieselbe Bedeutung wie »alternate«. Benutzerprogramme, Suchmaschinen usw können diese Link-Typen auf sehr unterschiedliche Arten interpretieren. Zum Beispiel können Benutzerprogramme den Zugriff auf verlinkte Dokumente über eine Navigationsleiste erlauben.
| ||||||||||||||||||||||||||||||||
| MediaDesc |
Das MediaDesc-Attribut ist eine durch Kommata separierte Liste von Medienbezeichnern. Nachfolgend eine Liste von bekannten Medienbezeichnern:
Zukünftige Versionen von XHTML können neue Werte einführen und können parametrisierte Werte erlauben. Um die Einführung dieser Erweiterungen zu unterstützen, müssen Benutzerprogramme in der Lage sein, den media-Attributwert wie folgt zu parsen:
Anmerkung: Stylesheets können medienabhängige Variationen enthalten (zum Beispiel das CSS-Konstrukt @media). In solchen Fällen kann es angemessen sein, »media =all« zu verwenden. |
||||||||||||||||||||||||||||||||
| Multi-Länge (MultiLength) | Der Wert darf eine absolute oder relative Längenangabe sein. Eine relative Längenangabe hat die Form »i*«, wobei »i« eine ganze Zahl ist. Bei der Zuweisung von Leeraum unter Elementen, die um diesen Leeraum konkurrieren, weisen Benutzerprogramme Pixel- und Prozentlängen zuerst zu; dann teilen sie den verbleibenden Raum unter den relativen Längen auf. Jede relative Länge erhält den Anteil des verfügbaren Raums, der proportional zu der Zahl ist, die dem »*« vorangeht. Der Wert »*« ist äquivalent zu »1*«. Folglich gilt: Wenn 60 Pixel an Raum verfügbar sind, nachdem das Benutzerprogramm Pixel- und Prozentwerte zugewiesen hat, und die konkurrierenden relativen Längen lauten »1*«, »2*« und »3*«, dann wird »1*« 10 Pixel, »2*« 20 Pixel und »3*« 30 Pixel zugewiesen. | ||||||||||||||||||||||||||||||||
| Multi-Längen (MultiLengths) | Eine durch Kommata separierte Liste von Einträgen des Typs MultiLength. | ||||||||||||||||||||||||||||||||
| Zahl (Number) | Ein oder mehrere Ziffern. | ||||||||||||||||||||||||||||||||
| Pixel | Der Wert ist eine ganze Zahl, die die Anzahl der Pixel auf der Zeichenfläche (Bildschirm, Papier) angibt. Folglich bedeutet der Wert »50« fünfzig Pixel. Für normative Informationen über die Definition von Pixeln sei auf [CSS2] verwiesen. | ||||||||||||||||||||||||||||||||
| Script |
Script-Daten können der Inhalt des »script«-Elements und der Wert von eingebauten Ereignisattributen (Events) sein. Benutzerprogramme dürfen Script-Daten nicht als HTML-Markup auswerten, sondern müssen sie statt dessen als Daten an den Script-Prozessor durchreichen. Die Abhängigkeit von Groß/Kleinschreibung von Script-Daten hängt von der Scripting- Sprache ab. Bitte beachten Sie, dass Script-Daten, die Elementinhalt darstellen, keine Zeichenreferenzen enthalten dürfen; Script-Daten hingegen, die ein Attributwert sind, dürfen sie enthalten. |
||||||||||||||||||||||||||||||||
| Form (Shape) | Die Form einer Fläche. | ||||||||||||||||||||||||||||||||
| Text | Beliebige textuelle Daten, meistens gedacht, um für Menschen lesbar zu sein. | ||||||||||||||||||||||||||||||||
| URI | Ein Uniform Resource Identifier gemäß [URI]. | ||||||||||||||||||||||||||||||||
| URIs | Eine durch Leerzeichen getrennte Liste von Uniform Resource Identifiern gemäß [URI]. |
Dieser Abschnitt ist informell.
Dieser Abschnitt definiert ein abstraktes Modul als Beispiel dafür, wie man die Vorteile der oben definierten Syntaxregeln nutzt. Da dieses Beispiel versucht, alle definierten, verschiedenen syntaktischen Elemente zu nutzen, ist es ziemlich kompliziert. Typische Moduldefinitionen würden viel einfacher als diese sein. Schließlich beachten Sie bitte, dass dieses Modul auf eine Attributsammlung namens »Common« verweist. Diese Sammlung, die in dieser Spezifikation definiert ist, enthält alle Grundattribute, die die meisten Elemente brauchen.
Das XHTML-Ski-Modul definiert Markup, das bei der Beschreibung einer Ski-Hütte benutzt wird. Die Elemente und Attribute, die in diesem Modul definiert werden, sind die folgenden:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| urlaubsort | Common, href (CDATA) | beschreibung, Garmisch+ |
| hütte | Common | beschreibung, (Garmisch - lift)+ |
| lift | Common, href | beschreibung? |
| apartment | Common, href | beschreibung? |
| zimmer | Common, href | beschreibung? |
| foyer | Common, href | beschreibung? |
| kamin | Common, href | beschreibung? |
| beschreibung | Common | PCDATA* |
Dieses Modul definiert außerdem die Inhaltsmenge Garmisch mit dem minimalen Inhaltsmodell hütte | lift | apartment | zimmer | foyer | kamin.
Dieser Abschnitt ist normativ.
Dieser Abschnitt spezifiziert den Inhalt der abstrakten XHTML-Module. Diese Module sind abstrakte Definitionen von Sammlungen von Elementen, Attributen und deren Inhaltsmodellen. Diese abstrakten Module können auf jeden geeigneten Spezifikationsmechanismus abgebildet werden. Implementierungen von XHTML-Modulen mit DTDs, zum Beispiel, bildet diese Module auf DTDs gemäß [XML] ab.
Inhaltentwickler und Gerätentwickler sollten diesen Abschnitt als eine Anleitung zur Definition des durch die verschiedenen XHTML-definierten Module bereitgestellten Funktionsumfangs ansehen. Bei der Entwicklung von Dokumenten oder der Definition eines Profils für eine Klasse von Dokumenten können Inhaltentwickler bestimmen, welche dieser Module essentiell zur Vermittlung ihrer Information sind. Beim Enturf von Client-Software sollten Entwickler die Profile ihrer Geräte durch Auswahl aus den hier definierten abstrakten Modulen entwickeln.
Sofern hier nichts anderes steht, sind die Bedeutungen der Elemente und Attribute in [HTML4] definiert.
Viele der abstrakten Module dieses Abschnitts definieren die benötigten Attribute für Elemente. Die nachfolgende Tabelle definiert einige Sammlungen von Attributen, die von den Modulen referenziert werden. Diese Ausdrücke sollten in keiner Weise als normativ oder unabdingbar angesehen werden. Sie sind eine schreiberische Bequemlichkeit innerhalb dieses Dokuments. Bei Verwendung im weiteren Verlauf dieses Abschnitts ist die Expandierung des Ausdrucks normativ, nicht der Ausdruck selbst.
Die folgenden Basisattributmengen werden bei vielen Elementen benutzt. In jedem Fall ihrer Verwendung werden sie durch Angabe ihres Sammlungsnamens statt durch Aufzählung der Liste angegeben.
| Name der Sammlung | Attribut in der Sammlung |
|---|---|
| Core | class (NMTOKENS), id (ID), title (CDATA) |
| I18N | xml:lang (NMTOKEN) |
| Events | onclick (Script), ondblclick (Script), onmousedown (Script), onmouseup (Script), onmouseover (Script), onmousemove (Script), onmouseout (Script), onkeypress (Script), onkeydown (Script), onkeyup (Script) |
| Style | style (CDATA) |
| Common | Core + Events + I18N + Style |
Beachten Sie, dass die Ereignissammlung (Events) nur definiert ist, wenn das Modul für eingebaute Ereignisse (Intrinsic Events) ausgewählt ist. Andernfalls ist die Ereignissammlung leer.
Beachten Sie auch, dass die Stilsammlung (Style) nur definiert ist, wenn das Modul Stilattribute (Style Attribute) ausgewählt ist. Andernfalls ist die Stilsammlung leer.
Die Kernmodule sind Module, die notwendigerweise in jedem zur XHTML-Familie konformen Dokumenttyp (siehe Abschnitt 3.1) vorhanden sein müssen.
Das Strukturmodul definiert die hauptsächlichen Strukturelemente für XHTML. Diese Elemente sind praktisch die Basis für das Inhaltsmodell von vielen Dokumenttypen der XHTML-Familie. Die in diesem Modul enthaltenen Elemente und Attribute sind:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| body | Common | (Heading | Block | List)* |
| head | I18N, profile (URI) | title |
| html | I18N, version (CDATA), xmlns (URI = "http://www.w3.org/1999/xhtml") | head, body |
| title | I18N | PCDATA |
Dieses Modul ist die zugrunde liegende Strukturdefinition für XHTML-Inhalt.
Das html-Element ist das Wurzelelement aller Dokumenttypen
der XHTML-Familie.
Beachten Sie, dass der Wert des xmlns-Attributs als »http://www.w3.org/1999/xhtml«
definiert ist. Beachten Sie auch, dass es aufgrund der besonderen Behandlung des xmlns-Attributs
durch XML-Namensraum-fähige Parser [XMLNAMES] erlaubt ist,
das Attribut an jedem Element zu haben. Jedenfalls soll bei jeder Verwendung des
xmlns-Attributs im Kontext eines XHTML-Moduls, egal ob mit Präfix oder ohne,
der Wert des Attributs der hier definierte XHTML-Namensraum sein. Siehe
Abschnitt D.2 (Definieren des Namensraums für ein Modul) für
weitere Regeln bezüglich der Namensraumverwendung mit Modulen der XHTML-Familie.
Implementierung: DTD
Dieses Modul definiert die Basis-Textcontainer-Elemente, Attribute und ihr Inhaltsmodell:
| Element | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| abbr | Common | (PCDATA | Inline)* |
| acronym | Common | (PCDATA | Inline)* |
| address | Common | (PCDATA | Inline)* |
| blockquote | Common, cite (URI) | (PCDATA | Heading | Block | List)* |
| br | Core | EMPTY |
| cite | Common | (PCDATA | Inline)* |
| code | Common | (PCDATA | Inline)* |
| dfn | Common | (PCDATA | Inline)* |
| div | Common | (PCDATA | Flow)* |
| em | Common | (PCDATA | Inline)* |
| h1 | Common | (PCDATA | Inline)* |
| h2 | Common | (PCDATA | Inline)* |
| h3 | Common | (PCDATA | Inline)* |
| h4 | Common | (PCDATA | Inline)* |
| h5 | Common | (PCDATA | Inline)* |
| h6 | Common | (PCDATA | Inline)* |
| kbd | Common | (PCDATA | Inline)* |
| p | Common | (PCDATA | Inline)* |
| pre | Common, xml:space="preserve" | (PCDATA | Inline)* |
| q | Common, cite (URI) | (PCDATA | Inline)* |
| samp | Common | (PCDATA | Inline)* |
| span | Common | (PCDATA | Inline)* |
| strong | Common | (PCDATA | Inline)* |
| var | Common | (PCDATA | Inline)* |
Das minimale Inhaltsmodell dieses Moduls definiert einige Inhaltsmengen:
Implementierung: DTD
Das Hypertext-Modul stellt das Element zur Verfügung, das zur Definition von Hyperlinks zu anderen Ressourcen benutzt wird. Dieses Modul unterstützt die folgenden Elemente und Attribute:
| Element | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| a | Common, accesskey (Character), charset (Charset), href (URI), hreflang (LanguageCode), rel (LinkTypes), rev (LinkTypes), tabindex (Number), type (ContentType) | (PCDATA | Inline - a)* |
Dieses Modul fügt das a-Element zur Inline-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Wie schon der Name sagt, stellt das Listenmodul listenorientierte Elemente zur Verfügung. Insbesondere unterstützt das Listenmodul die folgenden Elemente und Attribute:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| dl | Common | (dt | dd)+ |
| dt | Common | (PCDATA | Inline)* |
| dd | Common | (PCDATA | Flow)* |
| ol | Common | li+ |
| ul | Common | li+ |
| li | Common | (PCDATA | Flow)* |
Diese Modul definiert auch die Inhaltsmenge »List« mit dem minimalen Inhaltsmodell (dl | ol | ul)+ und fügt diese Menge zur Flow-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Dieses Modul ist missbilligt. Eine vergleichbare Funktion steht mit dem Objektmodul zur Verfügung.
Das Applet-Modul stellt Elemente für den Verweis auf externe Anwendungen zur Verfügung. Insbesondere unterstützt das Applet-Modul die folgenden Elemente und Attribute:
| Element | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| applet | Core, alt* (Text), archive (CDATA), code (CDATA), codebase (URI), height* (Length), object (CDATA), width* (Length) | (PCDATA | Flow | param)* |
| param | id (ID), name* (CDATA), type (ContentType), value (CDATA), valuetype ("data"* | "ref" | "object") | EMPTY |
Wenn das Applet-Modul verwendet wird, fügt es das applet-Element zur
Inline-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Dieser Abschnitt definiert verschiedene zusätzliche Markup-Modelle für Text.
Dieses Modul definiert Elemente, Attribute und ein minimales Inhaltsmodell für einfache darstellungsorientierte Auszeichnungen:
| Element | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| b | Common | (PCDATA | Inline)* |
| big | Common | (PCDATA | Inline)* |
| hr | Common | EMPTY |
| i | Common | (PCDATA | Inline)* |
| small | Common | (PCDATA | Inline)* |
| sub | Common | (PCDATA | Inline)* |
| sup | Common | (PCDATA | Inline)* |
| tt | Common | (PCDATA | Inline)* |
Wenn das Modul verwendet wird, wird das hr-Element zur
Inhaltsmenge Block des Textmoduls ergänzt.
Des Weiteren werden die Elemente
b, big, i, small, sub, sup, und tt zur Inhaltsmenge
Inline des Textmoduls ergänzt.
Implementierung: DTD
Dieses Modul definiert Elemente und Attribute zum Redigieren von Texten.
| Element | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| del | Common, cite (URI), datetime (Datetime) | (PCDATA | Flow)* |
| ins | Common, cite (URI), datetime (Datetime) | (PCDATA | Flow)* |
Wenn das Modul verwendet wird, werden die Elemente
del und ins der Inline-Inhaltsmenge
des Textmoduls hinzugefügt.
Implementierung: DTD
Das Modul für bidirektionalen Text definiert ein Element für die Definition der Schreibrichtung des Elementinhalts.
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| bdo | Core, dir* ("ltr" | "rtl") | (PCDATA | Inline)* |
Wenn das Modul verwendet wird, wird das Element
bdo der Inline-Inhaltsmenge des Textmoduls hinzugefügt.
Auswählen dieses Moduls fügt außerdem das Attribut
dir* ("ltr" | "rtl") der Attributsammlung I18N hinzu.
Implementierung: DTD
Das Basisformularmodul stellt Formularelemente, allerdings nur in eingeschränkter Form zur Verfügung. Das Basisformularmodul unterstützt insbesondere die folgenden Elemente, Attribute und folgendes minimales Inhaltsmodell:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| form | Common, action* (URI), method ("get"* | "post"), enctype (ContentType) | (Heading | List | Block - form)+ |
| input | Common, accesskey (Character), checked ("checked"), maxlength (Number), name (CDATA), size (Number), src (URI), tabindex (Number), type ("text"* | "password" | "checkbox" | "radio" | "submit" | "reset" | "hidden" ), value (CDATA) | EMPTY |
| label | Common, accesskey (Character), for (IDREF) | (PCDATA | Inline - label)* |
| select | Common, multiple ("multiple"), name (CDATA), size (Number), tabindex (Number) | option+ |
| option | Common, selected ("selected"), value (CDATA) | PCDATA |
| textarea | Common, accesskey (Character), cols* (Number), name (CDATA), rows* (Number), tabindex (Number) | PCDATA |
Diese Modul definiert zwei Inhaltsmengen:
Wenn dieses Modul verwendet wird, fügt es die Form-Inhaltsmenge der Block-Inhaltsmenge und die Formctrl-Inhaltsmenge der Inline-Inhaltsmenge hinzu, jeweils definiert im Textmodul.
Implementierung: DTD
Das Formularmodul stellt alle Formularfähigkeiten von HTML 4.0 zur Verfügung. Das Formularmodul unterstützt:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| form | Common, accept (ContentTypes), accept-charset (Charsets), action* (URI), method ("get"* | "post"), enctype (ContentType) | (Heading | List | Block - form | fieldset)+ |
| input | Common, accept (ContentTypes), accesskey (Character), alt (Text), checked ("checked"), disabled ("disabled"), maxlength (Number), name (CDATA), readonly ("readonly"), size (Number), src (URI), tabindex (Number), type ("text"* | "password" | "checkbox" | "button" | "radio" | "submit" | "reset" | "file" | "hidden" | "image"), value (CDATA) | EMPTY |
| select | Common, disabled ("disabled"), multiple ("multiple"), name (CDATA), size (Number), tabindex (Number) | (optgroup | option)+ |
| option | Common, disabled ("disabled"), label (Text), selected ("selected"), value (CDATA) | PCDATA |
| textarea | Common, accesskey (Character), cols* (Number), disabled ("disabled"), name (CDATA), readonly ("readonly"), rows* (Number), tabindex (Number) | PCDATA |
| button | Common, accesskey (Character), disabled ("disabled"), name (CDATA), tabindex (Number), type ("button" | "submit"* | "reset"), value (CDATA) | (PCDATA | Heading | List | Block - Form | Inline - Formctrl)* |
| fieldset | Common | (PCDATA | legend | Flow)* |
| label | Common, accesskey (Character), for (IDREF) | (PCDATA | Inline - label)* |
| legend | Common, accesskey (Character) | (PCDATA | Inline)+ |
| optgroup | Common, disabled ("disabled"), label* (Text) | option+ |
Diese Modul definiert zwei Inhaltsmengen:
Wenn dieses Modul verwendet wird, fügt es die Form-Inhaltsmenge der Block-Inhaltsmenge und die Formctrl-Inhaltsmenge der Inline-Inhaltsmenge hinzu, jeweils definiert im Textmodul.
Das Formularmodul ist eine Obermenge des Basisformularmoduls. Diese Module dürfen nicht zusammen in einem einzelnen Dokumenttyp verwendet werden.
Implementierung: DTD
Das Basistabellenmodul stellt Tabellenelemente, allerdings nur in eingeschränkter Form zur Verfügung. Das Basistabellenmodul unterstützt:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| caption | Common | (PCDATA | Inline)* |
| table | Common , summary ( Text ), width ( Length ) | caption?, tr+ |
| td | Common, abbr (Text), align ("left" | "center" | "right"), axis (CDATA), colspan (Number), headers (IDREFS), rowspan (Number), scope ("row" | "col"), valign ("top" | "middle" | "bottom") | (PCDATA | Flow - table)* |
| th | Common, abbr (Text), align ("left" | "center" | "right"), axis (CDATA), colspan (Number), headers (IDREFS), rowspan (Number), scope ("row" | "col" ), valign ("top" | "middle" | "bottom") | (PCDATA | Flow - table)* |
| tr | Common, align ("left" | "center" | "right"), valign ("top" | "middle" | "bottom") | (td | th)+ |
Wenn dieses Modul verwendet wird, fügt es das table-Element der
Block-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Wie bereits der Name andeutet, stellt das Tabellenmodul Tabellenelemente zur Verfügung, auf die nicht visuelle Benutzerprogramme besser zugreifen können. Das Tabellenmodul stellt die folgenden Elemente, Attribute und minimale Inhaltsmodelle zur Verfügung:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| caption | Common | (PCDATA | Inline)* |
| table | Common, border (Pixels), cellpadding (Length), cellspacing (Length), datapagesize (CDATA), frame ("void" | "above" | below" | "hsides" | "lhs" | "rhs" | "vsides" | "box" | "border"), rules ("none" | "groups" | "rows" | "cols" | "all"), summary (Text), width (Length) | caption?, ( col* | colgroup* ), (( thead?, tfoot?, tbody+ ) | ( tr+ )) |
| td | Common, abbr (Text), align ("left" | "center" | "right" | "justify" | "char"), axis (CDATA), char (Character), charoff (Length), colspan (Number), headers (IDREFS), rowspan (Number), scope ("row", "col", "rowgroup", "colgroup"), valign ("top" | "middle" | "bottom" | "baseline") | (PCDATA | Flow)* |
| th | Common, abbr (Text), align ("left" | "center" | "right" | "justify" | "char"), axis (CDATA), char (Character), charoff (Length), colspan (Number), headers (IDREFS), rowspan (Number), scope ("row", "col", "rowgroup", "colgroup"), valign ("top" | "middle" | "bottom" | "baseline") | (PCDATA | Flow)* |
| tr | Common, align ("left" | "center" | "right" | "justify", "char"), char (Character), charoff (Length), valign ("top" | "middle" | "bottom" | "baseline") | (td | th)+ |
| col | Common, align ("left" | "center" | "right" | "justify", "char"), char (Character), charoff (Length), span (Number), valign ("top" | "middle" | "bottom" | "baseline"), width (MultiLength) | EMPTY |
| colgroup | Common, align ("left" | "center" | "right" | "justify", "char"), char (Character), charoff (Length), span (Number), valign ("top" | "middle" | "bottom" | "baseline"), width (MultiLength) | col* |
| tbody | Common, align ("left" | "center" | "right" | "justify", "char"), char (Character), charoff (Length), valign ("top" | "middle" | "bottom" | "baseline") | tr+ |
| thead | Common, align ("left" | "center" | "right" | "justify", "char"), char (Character), charoff (Length), valign ("top" | "middle" | "bottom" | "baseline") | tr+ |
| tfoot | Common, align ("left" | "center" | "right" | "justify", "char"), char (Character), charoff (Length), valign ("top" | "middle" | "bottom" | "baseline") | tr+ |
Wenn dieses Modul verwendet wird, fügt es das table-Element der
Block-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Das Bildmodul ist die Grundlage für die Einbindung von Bildern und kann in einigen Implementationen unabhängig von client-seitigen Image Maps benutzt werden. Das Bildmodul unterstützt die folgenden Elemente und Attribute:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| img | Common, alt* (Text), height (Length), longdesc (URI), src* (URI), width (Length) | EMPTY |
Wenn das Modul verwendet wird, fügt es das img-Element
der Inline-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Das Modul für client-seitige Image Maps stellt Elemente für client-seitige Image Maps
zur Verfügung. Es setzt das Bildmodul (oder ein anderes Modul, das das
img-Element enthält) voraus.
Das Modul für client-seitige Image Maps unterstützt folgende Elemente:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| a& | coords (CDATA), shape ("rect" | "circle" | "poly" | "default") | n/a |
| area | Common, accesskey (Character), alt* (Text), coords (CDATA), href (URI), nohref ("nohref"), shape ("rect"* | "circle" | "poly" | "default"), tabindex (Number) | EMPTY |
| img& | usemap (IDREF) | n/a |
| input& | usemap (IDREF) | n/a |
| map | I18N, Events, class (NMTOKEN), id* (ID), title (CDATA) | ((Heading | Block) | area)+ |
| object& | usemap (IDREF) | Beachten Sie: Nur wenn das Objektmodul eingebunden wurde. |
Wenn das Modul verwendet wird, fügt es das map-Element
der Inline-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Das Modul für server-seitige Image Maps unterstützt Auswahl und Übertragung
von Bildkoordinaten.
Es setzt das Bildmodul (oder ein anderes Modul, das das
img-Element enthält) voraus.
Das Modul für server-seitige Image Maps unterstützt folgende Attribute:
| Elemente | Attribute | Minimales Inhaltsmodell | Bemerkungen |
|---|---|---|---|
| img& | ismap ("ismap") | n/a | |
| input& | ismap ("ismap") | n/a | Falls das Formular- oder Basisformularmodul eingebunden wurde. |
Implementierung: DTD
Das Objektmodul stellt Elemente für die Einbindung von allgemeinen Objekten zu Verfügung. Das Objektmodul unterstützt:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| object | Common, archive (URIs), classid (URI), codebase (URI), codetype (ContentType), data (URI), declare ("declare"), height (Length), name (CDATA), standby (Text), tabindex (Number), type (ContentType), width (Length) | (PCDATA | Flow | param)* |
| param | id (ID), name* (CDATA), type (ContentType), value (CDATA), valuetype ("data"* | "ref" | "object") | EMPTY |
Wenn das Modul verwendet wird, fügt es das object-Element
der Inline-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Wie der Name verrrät, stellt das Frames-Modul Elemente für Frames zur Verfügung. Das Frames-Modul unterstützt:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| frameset | Core , cols ( MultiLength ), rows ( MultiLength ) | (frameset | frame)+, noframes? |
| frame | Core , frameborder ("1" | "0"), longdesc ( URI ), marginheight ( Pixels ), marginwidth ( Pixels ), noresize ("noresize"), scrolling ("yes" | "no" | "auto"*), src ( URI ) | EMPTY |
| noframes | Common | body |
Wenn dieses Modul ausgewählt wird, wird das minimale Inhaltsmodell des
html-Elements des Strukturmoduls zu (head,
frameset) geändert.
Implementierung: DTD
Aus einem Frame heraus kann veranlasst werden, dass ein verlinktes Dokument
in einem bestimmten Ziel-Frame erscheint.
Dieses Modul fügt das target-Attribut
zu den Link-definierenden Elementen (a, area und so weiter) hinzu.
Diese Funktion ist als separates Modul definiert, damit es in Dokumente
eingebaut werden kann, die in Frames auftreten, und auch in Dokumente,
die target verwenden, um ein neues Fenster zu öffnen.
| Elemente | Attribute | Bemerkungen |
|---|---|---|
| a& | target ( CDATA ) | |
| area& | target ( CDATA ) | Wenn das Modul für client-seitige Image Maps ausgewählt ist. |
| base& | target ( CDATA ) | Wenn das Altlastenmodul ausgewählt ist. |
| link& | target ( CDATA ) | Wenn das Link-Modul ausgewählt ist. |
| form& | target ( CDATA ) | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
Implementierung: DTD
Das Iframe-Modul definiert ein Element für Inline Frames. Das Element und Attribute in diesem Modul sind:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| iframe | Core, frameborder ("1" | "0"), height (Length), longdesc (URI), marginheight (Pixels), marginwidth (Pixels), scrolling ("yes" | "no" | "auto"*), src (URI), width (Length) | (PCDATA | Flow)* |
Wenn das Modul verwendet wird, fügt es das iframe-Element
der Inline-Inhaltsmenge des Textmoduls hinzu.
Implementierung: DTD
Eingebaute Ereignisse sind Attribute einiger Elemente. Diese Elemente zeichnen sich dadurch aus, dass ein bestimmtes Ereignis eintritt, wenn der Benutzer eine bestimmte Handlung ausführt. Die in der nachfolgenden Tabelle aufgelisteten Attribute werden nur dann der Attributmenge der jeweiligen Elemente hinzugefügt, wenn die Module, die diese Elemente definieren, auch ausgewählt wurden. Beachten Sie, dass die Auswahl dieses Moduls die oben beschriebene Attributsammlung Events definiert. In diesem Modul definierte Attribute lauten:
| Elemente | Attribute | Bemerkungen |
|---|---|---|
| a& | onblur (Script), onfocus (Script) | |
| area& | onblur (Script), onfocus (Script) | Wenn das Modul für client-seitige Image Maps ausgewählt ist. |
| frameset& | onload (Script), onunload (Script) | Wenn das Frames-Modul ausgewählt ist. |
| form& | onreset (Script), onsubmit (Script) | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
| body& | onload (Script), onunload (Script) | |
| label& | onblur (Script), onfocus (Script) | Wenn das Formularmodul ausgewählt ist. |
| input& | onblur (Script), onchange (Script), onfocus (Script), onselect (Script) | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
| select& | onblur (Script), onchange (Script), onfocus (Script) | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
| textarea& | onblur (Script), onchange (Script), onfocus (Script), onselect (Script) | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
| button& | onblur (Script), onfocus (Script) | Wenn das Formularmodul ausgewählt ist. |
Implementierung: DTD
Das Metainformationsmodul definiert ein Element, das Information innerhalb
des deklarativen Teils eines Dokuments beschreibt (in XHTML das head-Element).
Das Modul enthält das folgende Element:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| meta | I18N, content* (CDATA), http-equiv (NMTOKEN), name (NMTOKEN), scheme (CDATA) | EMPTY |
Wenn dieses Modul gewählt wird, wird das meta-Element dem Inhaltsmodell
des head-Elements, definiert im Strukturmodul, hinzugefügt.
Implementierung: DTD
Das Scripting-Modul definiert Elemente, die Informationen bezüglich ausführbarer Programme oder bezüglich der fehlenden Unterstützung für die Ausführung solcher Programme enthalten. Elemente und Attribute in diesem Modul sind:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| noscript | Common | (Heading | List | Block)+ |
| script | charset (Charset), defer ("defer"), src (URI), type* (ContentType), xml:space="preserve" | PCDATA |
Wenn dieses Modul verwendet wird, werden die script- und
noscript-Elemente zu den Block
und Inline-Inhaltsmengen des Textmoduls hinzugefügt.
Außerdem wird das script-Element dem Inhaltsmodell des
head-Elements, definiert im Strukturmodul, zugefügt.
Implementierung: DTD
Das Stylesheet-Modul definiert ein Element zur Deklaration von internen Stylesheets. Das Element und die Attribute dieses Moduls sind:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| style | I18N, media (MediaDesc), title (Text), type* (ContentType), xml:space="preserve" | PCDATA |
Wenn dieses Modul verwendet wird, fügt es das style-Element dem Inhaltsmodell
des head-Elements, definiert im Strukturmodul, hinzu.
Implementierung: DTD
Das Style-Attributmodul definiert das style-Attribut.
Wenn dieses Modul gewählt wird, aktiviert es die
Style-Attributsammlung.
Implementierung: DTD
Das Link-Modul definiert ein Element, mit dem Links zu externen Ressourcen definiert werden können. Diese Ressourcen werden häufig verwendet, um die Fähigkeit von Benutzerprogrammen zur Verarbeitung des XHTML-Dokuments zu verbessern. Das Element und die Attribute in diesem Modul sind:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| link | Common, charset (Charset), href (URI), hreflang (LanguageCode), media (MediaDesc), rel (LinkTypes), rev (LinkTypes), type (ContentType) | EMPTY |
Wenn dieses Modul verwendet wird, fügt es das link-Element
zum Inhaltsmodell des head-Elements, definiert im Strukturmodul.
Implementierung: DTD
Das Base-Modul definiert ein Element, mit dem ein Basis-URI definiert werden kann, bezüglich dessen relative URIs im Dokument aufgelöst werden. Das Element und Attribut in diesem Modul sind:
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| base | href* (URI) | EMPTY |
Wenn dieses Modul verwendet wird, fügt es das base-Element
dem Inhaltsmodell des head-Elements, definiert im Strukturmodul, hinzu.
Implementierung: DTD
Dieses Modul ist missbilligt.
Das Name-Identifizierungsmodul definiert das Attribut name
für eine Sammlung von Elementen. Das name-Attribut wurde
ursprünglich zur Benennung bestimmter Elemente in HTML-Dokumenten benutzt.
Obgleich das name-Attribut durch das id-Attribut
ersetzt wurde, kann es Fälle geben, in denen Auszeichnungssprachen
beide unterstützen möchten. Solche Auszeichnungssprachen können dies
durch Einbinden dieses Moduls tun.
Beachten Sie, dass durch Einbinden des Moduls sowohl das name-
als auch das id-Attribut für die aufgeführten Elemente
definiert werden. Wenn dann das name-Attribut für ein Element
definiert wird, so muss auch das id-Attribut definiert werden.
Des Weiteren müssen beide Attribute denselben Wert haben.
Wenn schließlich das Dokument, welches das Attribut benutzt, mit dem Internet-Medientyp
»text/xml«
oder »application/xml« ausgeliefert wird,
dann soll der Wert des name-Attributs dieser Elemente nicht als
Fragmentbezeichner benutzt werden.
| Elemente | Attribute | Bemerkungen |
|---|---|---|
| a& | name (CDATA) | |
| applet& | name (CDATA) | Wenn das Applet-Modul ausgewählt ist. |
| form& | name (CDATA) | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
| frame& | name (CDATA) | Wenn das Frames-Modul ausgewählt ist. |
| iframe& | name (CDATA) | Wenn das Iframe-Modul ausgewählt ist. |
| img& | name (CDATA) | Wenn das Bildmodul ausgewählt ist. |
| map& | name (CDATA) | Wenn das Modul für client-seitige Image Maps ausgewählt ist. |
Implementierung: DTD
Das Altlastenmodul defniert Elemente und Attribute, die bereits in früheren Versionen von HTML und XHTML missbilligt waren und auch in Modularisierung von XHTML missbilligt bleiben. Autoren von Auszeichnungssprachen sollten diese Elemente und Attribute nicht länger benutzen.
Die folgende Tabelle zeigt die Elemente und Attribute, die definiert werden, wenn das Altlastenmodul ausgewählt wird.
| Elemente | Attribute | Minimales Inhaltsmodell |
|---|---|---|
| basefont | color (Color), face (CDATA), id (ID), size (CDATA) | EMPTY |
| center | Common | (PCDATA | Flow)* |
| dir | Common, compact ("compact") | (li)+ |
| font | Core, I18N, color (Color), face (CDATA), size (CDATA) | (PCDATA | Inline)* |
| isindex | Core, I18N, prompt (Text) | EMPTY |
| menu | Common, compact ("compact") | (li)+ |
| s | Common | (PCDATA | Inline)* |
| strike | Common | (PCDATA | Inline)* |
| u | Common | (PCDATA | Inline)* |
Die folgende Tabelle zeigt weitere Attribute für Elemente, die an anderer Stelle definiert werden, wenn das Altlastenmodul ausgewählt wird.
| Elemente | Attribute | Bemerkungen |
|---|---|---|
| body& | alink (Color), background (URI), bgcolor (Color), link (Color), text (Color), vlink (Color) | |
| br& | clear ("left" | "all" | "right" | "none"*) | |
| caption& | align ("top" | "bottom" | "left" | "right") | |
| div& | align ("left" | "center" | "right" | "justify") | |
| dl& | compact ("compact"), type (CDATA) | |
| h1-h6& | align ("left" | "center" | "right" | "justify") | |
| hr& | align ("left" | "center" | "right" | "justify"), noshade ("noshade"), size (Pixels), width (Length), | |
| img& | align ("left" | "center" | "right" | "justify"), border (Pixels), hspace (Pixels), vspace (Pixels) | |
| input& | align ("top" | "middle" | "bottom" | "left" | "right") | Wenn das Formular- oder Basisformularmodul ausgewählt ist. |
| legend& | align ("left" | "center" | "right" | "justify") | Wenn das Formularmodul ausgewählt ist. |
| li& | type (CDATA), value (Number) | |
| ol& | compact ("compact"), start (Number), type (CDATA) | |
| p& | align ("left" | "center" | "right", "justify") | |
| pre& | width (Number) | |
| script& | language (CDATA) | Wenn das Scripting-Modul ausgewählt ist. |
| table& | align ("left" | "center" | "right"), bgcolor (Color) | Wenn das Tabellenmodul ausgewählt ist. |
| tr& | bgcolor (Color) | Wenn das Tabellenmodul ausgewählt ist. |
| th& | bgcolor (Color), height (Pixels) nowrap ("nowrap"), width (Length) | Wenn das Tabellenmodul ausgewählt ist. |
| td& | bgcolor (Color), height (Length) nowrap ("nowrap"), width (Pixels) | Wenn das Tabellenmodul ausgewählt ist. |
| ul& | compact ("compact"), type (CDATA) |
Implementierung: DTD
Dieser Anhang ist normativ.
Sobald XML-Schema zu einer W3C Recommendation wird, wird dieser Anhang Anweisungen für die Definition von XML-Schema-Modulen enthalten, die kompatibel zur Implementierung der Modularisierung von XHTML per XML-Schema [XMLSCHEMA] sind.
Dieser Anhang ist normativ.
Sobald XML-Schema zu einer W3C Recommendation wird, wird dieser Anhang Anweisungen enthalten, wie man vollständige Auszeichnungssprachen mit XHTML-Modulen per XML- Schema [XMLSCHEMA] definiert.
Dieser Anhang ist normativ.
Sobald XML-Schema zu einer W3C Recommendation wird, wird dieser Anhang die Implementierungen der in Abschnitt 5 (Abstrakte XHTML-Module) definierten Module per XML-Schema enthalten.
Dieser Anhang ist normativ.
XHTML-Module sind in Form von DTD-Fragmenten implementiert. Wenn diese Fragmente in einer bestimmten Weise (beschrieben in Anhang E (Entwickeln von DTDs mit definierten und erweiterten Modulen)) zusammengefügt werden, dann ist die entstehende DTD die Repräsentation eines vollständigen Dokumenttyps. Diese Repräsentation kann dann zur Validierung von Instanzen des Dokumenttyps verwendet werden.
Der Schlüssel dazu, wie diese Fragmente zu einer sinnvollen DTD kombiniert werden können, besteht in den Regeln, mit denen die Fragmente definiert werden. Dieser Abschnitt definiert jene Regeln. Durch das Befolgen der Regeln können DTD-Autoren sicher sein, dass ihre Module saubere Schnittstellen zu anderen XHTML-kompatiblen Modulen besitzen.
Damit sich Module, die zu diesen Regeln konform sind, als Modul der XHTML-Familie bezeichnen dürfen, müssen sie zudem die Konformitätsanforderungen erfüllen, die in Abschnitt 3.3 (Konformität eines Moduls zur XHTML- Familie) definiert sind.
Dieses Spezifikation klassifiziert Parameter-Entities in Kategorien und benennt sie konsistent unter Verwendung der folgenden Suffixe:
.mod
wenn sie
ein DTD-Modul darstellen (eine Sammlung von Elementen,
Attributen,
Parameter-Entities und so weiter). In dieser Spezifikation
ist jedes Modul eine atomare Einheit und kann als separates
Datei-Entity dargestellt werden..module wenn
sie die Aufnahme eines DTD-Moduls durch eines der Schlüsselwörter
INCLUDE oder IGNORE für bedingte
Abschnitte steuern..qname wenn sie den qualifizierten Namen für
ein Element repräsentieren. Siehe Abschnitt D.2 (Definieren des Namensraums für ein
Modul) für weitere Informationen über qualifizierte
Namen..content wenn sie das Inhaltsmodell eines
Elementtyps darstellen..class wenn sie Elemente derselben Klasse
darstellen..mix
wenn sie eine Sammlung von Elementtypen verschiedener
Klassen darstellen..attrib wenn sie eine Gruppe von Token
darstellen, die ein oder mehrere vollständige
Attributspezifikationen innerhalb einer ATTLIST-Deklaration
bilden.Zum Beispiel wurde in HTML 4 das Parameter-Entity %block; definiert, um die heterogene Sammlung von Elementtypen darzustellen, die Block-Elemente sind. In diese Spezifikation heißt das entsprechende Parameter-Entity %Block.mix;.
Bei der Definition von Parameter-Entities innerhalb der hier
definierten Klassen, sollten Module den Gültigkeitsbereich
der Entity-Namen durch Einsatz von eindeutigen Präfixen
einschränken. Zum
Beispiel könnte das Inhaltsmodell des Elements
myelement
im Modul mymodule den Namen
MYMODULE.myelement.content
tragen. Andere Schemata sind möglich. Unabhängig von dem
verwendeten
Schema sollten Modulautoren sicherstellen, dass die von
ihnen
definierten Parameter-Entities eindeutig benannt sind, so
dass sie
nicht mit den Namen anderer Parameter-Entities kollidieren
und die
Schnittstellen der Module für deren Anwender offensichtlich
sind.
XHTML verlangt, dass sich die in einem Module deklarierten Elemente und Attribute innerhalb eines definierten Namensraums befinden [XMLNAMES]. Die Kennzeichnung dieses Namensraums ist ein beliebiger URI. XHTML verlangt, dass das Modul, im Falle der Implementierung des Moduls durch eine XML-DTD, den Namensraum ein einer bestimmten Weise deklariert. Der Zweck davon ist, dass das Namensraumpräfix sowie das Präfix, mit dem Elemente und Attribute des Moduls identifiziert werden, zum Zeitpunkt des Parsings beziehungsweise der Validierung des Dokuments gewählt werden können.
Autoren, die Dokumente schreiben möchten, die auf hybriden Dokumenttypen basieren, steht es frei, Namensraumpräfixe bei Elementen aus dem XHTML-Namensraum, bei Elementen aus anderen Namensräumen oder beide Möglichkeiten zu wählen. Um sicherzugehen, dass solche Dokumente XHTML-konform und abwärtskompatibel zu Werkzeugen sind, die Namensräume nicht kennen, empfiehlt das W3C, keine Namensraumpräfixe bei Elementen aus dem XHTML-Namensraum zu verwenden. Falls Autoren ihre Inhalte durch namensraumfähige Software verarbeiten lassen möchten, rät das W3C darüberhinaus, dass Elemente außerhalb des XHTML-Namensraum mit einem Namensraumpräfix angegeben werden; sie sollten sich nicht auf den XML-Default-Namensraum verlassen.
Jedes XHTML-konforme Modul, das in Form einer XML-DTD implementiert ist, muss ein Default-Namensraumpräfix, eine Möglichkeit, dieses Präfix innerhalb einer Dokumentinstanz zu ändern, sowie einen ausgezeichneten Abschnitt (marked section) besitzen, der die Verarbeitung des Präfixes einschaltet.
Beachten Sie, dass es erlaubt ist und erwartet wird, dass mehrere verwandte Module Teil desselben Namensraums sind. Zum Beispiel sind alle XHTML-Module Teil desselben Namensraums.
Als erstes müssen Sie ein Teilmodul für qualifizierte Namen definieren (ein Teilmodul ist lediglich ein Datei-Entity, das getrennt ist, um in die endültige DTD an geeigneter Stelle eingefügt zu werden). Das Teilmodul für qualifizierte Namen wird gemäß den folgenden Schritten erstellt (dabei wird MODULE durch eine geeignete Zeichenkette für das neue Modul ersetzt):
Falls das Modul Attribute für solche Elemente hinzufügt, die in Modulen definiert sind, die sich nicht im gleichen Namensraum befinden, dann deklariere diese Attribute so, dass sie das Präfix %MODULE.pfx verwenden. Zum Beispiel:
<!ENTITY % MODULE.img.myattr.qname "%MODULE.pfx;myattr" >
Ein Beispiel für ein qname-Teilmodul für ein hypothetisches Inventarmodul ist Folgendes:
<!-- ...................................................................... -->
<!-- Inventory Qname Module ................................................... -->
<!-- file: inventory-qname-1.mod
PUBLIC "-//MY COMPANY//ELEMENTS XHTML Inventory Qnames 1.0//EN"
SYSTEM "http://www.example.com/DTDs/inventory-qname-1.mod"
xmlns:inventory="http://www.example.com/xmlns/inventory"
...................................................................... -->
<!-- Declare the default value for prefixing of this module's elements -->
<!-- Note that the NS.prefixed will get overridden by the XHTML Framework or
by a document instance. -->
<!ENTITY % NS.prefixed "IGNORE" >
<!ENTITY % Inventory.prefixed "%NS.prefixed;" >
<!-- Declare the actual namespace of this module -->
<!ENTITY % Inventory.xmlns "http://www.example.com/xmlns/inventory" >
<!-- Declare the default prefix for this module -->
<!ENTITY % Inventory.prefix "inventory" >
<!-- Declare the prefix for this module -->
<![%Inventory.prefixed;[
<!ENTITY % Inventory.pfx "%Inventory.prefix;:" >
]]>
<!ENTITY % Inventory.pfx "" >
<!-- Declare the xml namespace attribute for this module -->
<![%Inventory.prefixed;[
<!ENTITY % Inventory.xmlns.extra.attrib
"xmlns:%Inventory.prefix; %URI.datatype; #FIXED '%Inventory.xmlns;'" >
]]>
<!ENTITY % Inventory.xmlns.extra.attrib "" >
<!-- Declare the extra namespace that should be included in the XHTML
elements -->
<!ENTITY % XHTML.xmlns.extra.attrib
%Inventory.xmlns.extra.attrib; >
<!-- Now declare the qualified names for all of the elements in the
module -->
<!ENTITY % Inventory.shelf.qname "%Inventory.pfx;shelf" >
<!ENTITY % Inventory.item.qname "%Inventory.pfx;item" >
<!ENTITY % Inventory.desc.qname "%Inventory.pfx;desc" >
<!ENTITY % Inventory.sku.qname "%Inventory.pfx;sku" >
<!ENTITY % Inventory.price.qname "%Inventory.pfx;price" >
Als nächstes müssen Sie ein oder mehrere »Deklarationsteilmodule« definieren. Der Zweck dieser Datei-Entities besteht in der Deklaration der XML-DTD-Elemente und -Attributlisten. Ein XHTML-Deklarationsteilmodul sollte wie folgt aufgebaut werden:
Falls das Modul Attribute für Elemente definiert, die in Modulen definiert sind, die sich nicht im selben Namensraum befinden, deklariere solche Attribute mit dem Präfix %MODULE.pfx. Zum Beispiel:
<!ENTITY % MODULE.img.myattr.qname "%MODULE.pfx;myattr" >
<!ATTLIST %img.qname;
%MODULE.img.myattr.qname; CDATA #IMPLIED
>
Dies würde dem img-Element des Bildmoduls ein Attribut hinzufügen. Der Name des Attributs wäre der qualifizierte Name, einschließlich Präfix, sofern Präfixe für eine Dokumentinstanz aktiviert wären. Es würde zudem das Attribut xmlns:MODULE_PREFIX der Attributliste des img-Elements hinzufügen, so dass ein namensraumfähiger XML-Parser wissen würde, wie er das Namensraumpräfix aufzulösen hätte.
Das folgende Beispiel zeigt ein Deklarationsteilmodul für ein hypothetisches Inventarmodul:
<!-- ...................................................................... -->
<!-- Inventory Elements Module ................................................... -->
<!-- file: inventory-1.mod
PUBLIC "-//MY COMPANY//ELEMENTS XHTML Inventory Elements 1.0//EN"
SYSTEM "http://www.example.com/DTDs/inventory-1.mod"
xmlns:inventory="http://www.example.com/xmlns/inventory"
...................................................................... -->
<!-- Inventory Module
shelf
item
sku
desc
price
This module defines a simple inventory item structure
-->
<!-- Define the global namespace attributes -->
<![%Inventory.prefixed;[
<!ENTITY % Inventory.xmlns.attrib
"%NS.decl.attrib;"
>
]]>
<!ENTITY % Inventory.xmlns.attrib
"xmlns %URI.datatype; #FIXED '%Inventory.xmlns;'"
>
<!-- Define a common set of attributes for all module elements -->
<!ENTITY % Inventory.Common.attrib
"%Inventory.xmlns.attrib;
id ID #IMPLIED
>
<!-- Define the elements and attributes of the module -->
<!ELEMENT %Inventory.shelf.qname;
( %Inventory.item.qname; )* >
<!ATTLIST %Inventory.shelf.qname;
location CDATA #IMPLIED
%Inventory.Common.attrib;
>
<!ELEMENT %Inventory.item.qname;
( %Inventory.desc.qname;, %Inventory.sku.qname;, %Inventory.price.qname;) >
<!ATTLIST %Inventory.item.qname;
location CDATA #IMPLIED
%Inventory.Common.attrib;
>
<!ELEMENT %Inventory.desc.qname; ( #PCDATA ) >
<!ATTLIST %Inventory.desc.qname;
%Inventory.Common.attrib;
>
<!ELEMENT %Inventory.sku.qname; ( #PCDATA ) >
<!ATTLIST %Inventory.sku.qname;
%Inventory.Common.attrib;
>
<!ELEMENT %Inventory.price.qname; ( #PCDATA ) >
<!ATTLIST %Inventory.price.qname;
%Inventory.Common.attrib;
>
<!-- end of inventory-1.mod -->
Manchmal ist es wünschenswert, ein XHTML-Modul auch als alleinstehende DTD verwenden zu können. Ein gutes Beispiel dafür, ist unser obiges Inventarmodul. Die »Items« müssen in ein XHTML-Dokument einzubetten sein und zudem beispielsweise als alleinstehende, aus einer Datenbank exportierte Dokumente verfügbar sein. Der einfachste Weg, dies zu erreichen, ist das Definieren einer DTD-Datei, die die Komponenten des Moduls instanziiert. Solch eine DTD würde die folgende Struktur besitzen:
xmlns-Attribut).Am Beispiel des Inventarmoduls sieht das wie folgt aus:
<!-- ...................................................................... -->
<!-- Inventory Elements DTD ............................................... -->
<!-- file: inventory-1.dtd
PUBLIC "-//MY COMPANY//DTD XHTML Inventory 1.0//EN"
SYSTEM "http://www.example.com/DTDs/inventory-1.dtd"
xmlns:inventory="http://www.example.com/xmlns/inventory"
...................................................................... -->
<!-- Inventory Module
shelf
item
sku
desc
price
This module defines a simple inventory item structure
-->
<!-- Bring in the datatypes -->
<!ENTITY % xhtml-datatypes.mod
PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod" >
%xhtml-datatypes.mod;
<!-- Bring in the qualified names -->
<!ENTITY % Inventory-qname.mod SYSTEM "inventory-qname-1.mod" >
%Inventory-qname.mod;
<!ENTITY % NS.decl.attrib "%Inventory.xmlns.extra.attrib;">
<!ENTITY % Inventory.mod SYSTEM "inventory-1.mod" >
%Inventory.mod;
<!-- end of inventory-1.dtd -->
Die DTD kann dann aus Dokumenten heraus referenziert werden, die nur die Elemente aus dem eigenen Modul benutzen:
<!DOCTYPE shelf SYSTEM "inventory-1.dtd">
<shelf xmlns="http://www.example.com/xmlns/inventory">
<item>
<desc>
this is a description.
</desc>
<sku>
this is the price.
</sku>
<price>
this is the price.
</price>
</item>
</shelf>
Diese Vorgehensweise erlaubt die Definition von Elementen und Attributen, die sich im Geltungsbereich ihres eigenen Namensraums befinden. Zudem können Autoren das vorgegebene Präfix für Elemente und Attribute verwenden:
<!DOCTYPE inventory:shelf SYSTEM "inventory-1.dtd" [
<!ENTITY % Inventory.prefixed "INCLUDE">
]>
<inventory:shelf xmlns:inventory="http://www.example.com/xmlns/inventory">
<inventory:item>
<inventory:desc>
this is a description.
</inventory:desc>
<inventory:sku>
this is the sku.
</inventory:sku>
<inventory:price>
this is the price.
</inventory:price>
</inventory:item>
</inventory:shelf>
Schließlich kann eine Dokumentinstanz ein anderes XML-Namensraumpräfix durch Umdeklarierung in der internen DTD-Teilmenge:
<!DOCTYPE i:shelf SYSTEM "inventory-1.dtd" [
<!ENTITY % Inventory.prefixed "INCLUDE">
<!ENTITY % Inventory.prefix "i">
]>
<i:shelf xmlns:i="http://www.example.com/xmlns/inventory">
<i:item>
<i:desc>
this is a description.
</i:desc>
<i:sku>
this is the price.
</i:sku>
<i:price>
this is the price.
</i:price>
</i:item>
</i:shelf>
Während der hier gezeigte Ansatz die Definition von Auszeichnungssprachen erlaubt, die XML- und XML-Namensraumkonform sind, werden einige Eigenschaften von XML-Namensräumen nicht unterstützt:
XML-Namensräume gestatten die Neudeklarierung des xmlns-Attributs für einen Namensraum an jeder Stelle im Baum. Darüber hinaus erlaubt diese Neudeklarierung zwischen vorgegebenem Namensraum (kein Präfix) und Verwendung des Präfixes umzuschalten und das Präfix zu ändern.
Die Methode, die in diesem Dokument definiert wurde, lässt das nicht zu.
In der gesamten Dokumentinstanz muss ein vorgegebener Namensraum dasselbe Präfix (falls eines benutzt wird) oder keines verwenden.
Falls der vorgegebene Namensraum (kein Präfix) verwendet wird, darf man sich darauf verlassen, dass die DTD der Dokumente den Parser über den Namensraum von Elementen informiert. Da aber namensraumfähige Prozessoren die DTD nicht unbedingt lesen müssen, sollten Autoren den XML-Namensraum eines Elements immer deklarieren, wenn er sich ändert:
... <p> <myelement xmlns="..." /> </p>
Dieser Abschnitt ist informell.
Der primäre Zweck der Definition von XHTML-Modulen und einer allgemeinen Methodik zur Modularisierung besteht darin, die Entwicklung von XHTML-basierten Dokumenttypen zu vereinfachen. Diese Dokumenttypen können XHTML durch Integration weiterer Fähigkeiten erweitern (zum Beispiel [SMIL]), oder sie können eine Teilmenge von XHTML für den Einsatz mit einem speziellen Gerät definieren. Dieser Abschnitt beschreibt, welche Techniken die Entwickler von Dokumenttypen anwenden müssen, um die XML-DTD-Implementierung der Modularisierungsarchitektur nutzen zu können. Er macht dies durch Anwendung der Modularisierungstechniken in einer nach und nach komplexeren Weise, die schließlich in der Erschaffung eines vollständigen Dokumenttyps aus voneinander unabhängigen Modulen mündet.
Beachten Sie, dass es diese Beispiele in keinem Fall erforderlich machen, die durch XHTML zur Verfügung gestellten Datei-Entities der Module zu modifizieren. Die Datei-Entities der XHTML-Module sind vollständig parametrisiert. Dadurch ist es durch separate Moduldefinitionen und Treiber möglich, die Definition und das Inhaltsmodell von jedem Element und jede Elementhierachie zu ändern.
Abschließend sollten Sie daran denken, dass die meisten Anwender von XHTML vermutlich keine DTD-Autoren sind. DTD-Autoren sind in der Regel Menschen, die spezialisierte Auszeichnungen definieren, welche die Lesbarkeit erhöhen, die Darstellung eines Dokuments vereinfachen, die maschinelle Verarbeitung von Dokumenten erleichtern, oder sie sind Entwickler von Client-Software, die die spezialisierte DTD für ihren jeweiligen Client entwerfen. Bedenken Sie die folgenden Fälle:
Eine Organisation stellt Informationen über Mitglieder mittels einer Web-Schnittstelle zur Verfügung. Die Mitgliederdaten sind in einer XML-basierten Datenbasis gespeichert. Ein Weg, die Daten aus der Datenbasis ins Web zu bringen, besteht darin, die XML-Datensätze direkt in das XHTML-Dokument einzubetten. Abgesehen von der Möglichkeit, die Datensätze schlicht einzubetten, kann die Organisation ein DTD-Modul definieren, das die Datensätze beschreibt. Dieses Modul wird an eine XHTML-DTD gekoppelt, und damit entsteht eine vollständige DTD für die Seiten. Nun ist es möglich, auf die Daten innerhalb der neuen Elemente per Document Object Model [DOM] zuzugreifen, die Dokumente zu validieren, unter Verwendung von Cascading Style Sheets [CSS2] kaskadierende Formatierungsdefinitionen vorzunehmen und so weiter. Dank der sauberen Definition der Datenstruktur und der Schaffung der DTD mittels des hier beschriebenen Vorgehens, kann die Organisation den ganzen Nutzen von XML erzielen.
Ein Entwickler entwirft ein spezielles Gerät mit einem Internet-Client. Dieses Gerät wird nur einen Teil von XHTML unterstützen und wird auf das Internet nur über einen Proxy-Server zugreifen, der die Daten vor der Weiterleitung an den Client validiert (um die Fehlerbehandlung auf Seiten des Clients zu minimieren). Der Entwickler entwirft eine DTD, um sicherzustellen, dass der Inhalt gültig ist. Die DTD stellt eine Teilmenge von XHTML dar und entsteht mit der hier beschriebenen Vorgehensweise. Nun können der Proxy-Server und die Geräte die neue DTD verwenden. Zudem kann die DTD veröffentlicht werden, damit Autoren ihre Dokumente vor dem Publizieren validieren können. Mit wenigen, einfachen Schritten kann der Client-Entwickler die in diesem Dokument definierte Architektur einsetzen, um die Entwicklungskosten für die DTD zu senken und um sicherzustellen, dass er die ausgewählte XHTML-Teilmenge vollständig unterstützt.
Eine Erweiterung von XHTML kann auch nur aus zusätzlichen Attributen bestehen. Attribute lassen sich einem Element durch eine zusätzliche ATTLIST für den Elementtyp zufügen. Zum Beispiel:
<!ATTLIST %a.qname;
%MyModule.pfx;myattr CDATA #IMPLIED
%MyModule.xmlns.extras.attrib;
>
Dies würde das Attribut »myattr«, mit dem optionalen, durch »%MyModule.pfx« definierten Präfix, dem Element »a« hinzufügen. Das funktioniert, weil XML die Definition oder Erweiterung einer Attributliste an jeder Stelle in einer DTD gestattet. Eine Beschreibung von qualifizierten Namen und Namensraumpräfixen finden Sie in Abschnitt D.2 (Definieren des Namensraums für ein Modul).
Selbstverständlich bedeutet das Hinzufügen eines Attributs zu einer DTD nicht, dass irgendein neues Verhalten für beliebige Clients definiert wäre. Ein Autor könnte das zusätzliche Attribut aber dazu verwenden, um Information darin abzulegen, die etwa durch Skripte per Document Object Model verarbeitet werden.
Die Definition zusätzlicher Elemente ist nur wenig schwieriger als die Definition neuer Attribute. Im Wesentlichen sollten DTD-Autoren die Elementdeklaration für jedes Element schreiben:
<!-- In the qname sub-module -->
<!ENTITY % MyModule.myelement.qname "%MyModule.pfx;myelement" >
<!ENTITY % MyModule.myotherelement.qname "%MyModule.pfx;myotherelement" >
<!-- In the declaration sub-module -->
<!ELEMENT %MyModule.myelement.qname;
( #PCDATA | %MyModule.myotherelement.qname; )* >
<!ATTLIST %MyModule.myelement.qname;
myattribute CDATA #IMPLIED
>
<!ELEMENT %MyModule.myotherelement.qname; EMPTY >
Nachdem die Elemente deklariert sind, müssen sie in das Inhaltsmodell integriert werden. Strategien für die Integration eines neuen oder mehrerer neuer Elemente in das Inhaltsmodell werden im folgenden Abschnitt besprochen.
Weil die Inhaltsmodelle der XHTML-Module völlig parametrisiert sind, können DTD-Autoren diese für jedes Element in jedem Modul ändern. Die Details der DTD-Modulschnittstellen sind im Abschnitt D (Building DTD Modules) definiert. Im Wesentlichen gibt es zwei Ansätze:
Welche Strategie zu wählen ist, hängt von der Natur der zu kombinierenden Module und von der Natur der zu integrierenden Elemente ab. Der Rest dieses Abschnitts beschreibt Techniken für die Integration von Modulen zweier verschiedener Klassen.
Wenn ein Modul (nicht zu vergessen, dass ein Modul eine Sammlung anderer Module sein kann) Elemente enthält, die sich in ihren Inhaltsmodellen nur untereinander referenzieren, nennt man es »in sich vollständig«. Als ein solches kann das Modul alleinstehend verwendet werden (zum Beispiel kann eine DTD nur aus diesem Modul bestehen, und eines der Elemente dient als Wurzelelement). Die Integration eines solchen Moduls mit XHTML ist ein dreistufiger Prozess:
Nehmen wir an, wie wollen die in
E.2 deklarierten Elemente hinzufügen.
In diesem Beispiel ist myelement die Wurzel.
Um dieses Element unterhalb des img-Elements von XHTML hinzuzufügen, und nur darunter, könnte man wie folgt vorgehen:
<!ENTITY % img.content "( %MyModule.myelement.qname; )*">
Eine DTD mit diesem Inhaltsmodell würde ein Dokument mit folgendem Ausschnitt zulassen:
<img src="..."> <myml:myelement >This is content of a locally defined element</myml:myelement> </img>
Es ist wichtig, darauf hinzuweisen, dass das
img-Element normalerweise das Inhaltsmodell EMPTY besitzt.
Durch das Hinzufügen von myelement zum Inhaltsmodell, wird tatsächlich nur EMPTY durch myelement ersetzt.
Im Fall von anderen Elementen, die bereits ein definiertes Inhaltsmodell besitzen, würde das Hinzufügen eines Elements die vollständige Übernahme des vorhandenen Inhaltsmodells zuzüglich myelement erfordern.
In Erweiterung des obigen Beispiel wollen wir nun dieses Modul überall dort einbringen, wo die Inhaltsmodellgruppe »%Flow.mix« erlaubt ist. Das geht beispielsweise so:
<!ENTITY % Misc.extra
"| %MyModule.myelement.qname;" >
Da die Inhaltsmodellklasse »%Misc.extra« im Parameter-Entity »%Misc.class« benutzt wird, und weil dieses Parameter-Entity durchgängig in allen XHTML-Modulen zum Einsatz kommt, wäre das neue Modul durchgängig in dem erweiterten XHTML-Dokumenttyp verfügbar.
Bis hierhin habe die Beispiele die Methoden zur Erweiterung von XHTML und ihren Inhaltsmodellen gezeigt. Ist dies erst einmal geschehen, besteht der folgende Schritt darin, die Module, die die DTD bilden, zu einem einzigen DTD-Treiber zusammenzufassen. Der Treiber enthält die neuen Definitionen, so dass sie die zugrunde liegenden XHTML-Definitionen überschreiben beziehungsweise erweitern.
Unter Verwendung des einfach Beispiels von oben, lässt sich eine neue DTD definieren, die sehr einfach die XHTML-Module benutzt und erweitert. Als erstes definieren wir die neuen Elemente und ihre Inhaltsmodelle in einem Modul:
<!-- File: simpleml-model-1.mod -->
<!-- Declare a Parameter Entity (PE) that defines any external namespaces
that are used by this module -->
<!-- Set the PE that is used in every ATTLIST in this module
NS.prefixed.attrib is initialized in the xhtml-qname module, and
SimpleML.ns.noprefix.attrib is initialized in the SimpleML DTD driver
file.-->
<!ENTITY % SimpleML.xmlns.attrib
"%NS.decl.attrib;"
>
<!ENTITY % SimpleML.Common.attrib
"%SimpleML.xmlns.attrib;
id ID #IMPLIED"
>
<!ENTITY % SimpleML.element.qname "%SimpleML.pfx;element" >
<!ENTITY % SimpleML.otherelement.qname "%SimpleML.pfx;otherelement" >
<!ELEMENT %SimpleML.element.qname;
( #PCDATA | %SimpleML.otherelement.qname; )* >
<!ATTLIST %SimpleML.element.qname;
myattribute CDATA #IMPLIED
%SimpleML.Common.attrib;
>
<!ELEMENT %SimpleML.otherelement.qname; EMPTY >
<!ATTLIST %SimpleML.otherelement.qname;
%SimpleML.Common.attrib;
>
<!ENTITY % SimpleML.img.myattr.qname "%SimpleML.pfx;myattr" >
<!ATTLIST %img.qname;
%SimpleML.img.myattr.qname; CDATA #IMPLIED
>
<!-- Add our elements to the XHTML content model -->
<!ENTITY % Misc.class
"| %SimpleML.element.qname;" >
<!-- Now bring in the XHTML Basic content model -->
<!ENTITY % xhtml-basic-model.mod
PUBLIC "-//W3C//ENTITIES XHTML Basic 1.0 Document Model 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10-model-1.mod" >
%xhtml-basic-model.mod;
Als nächstes definieren wir den DTD-Treiber für die neue Sprache:
<!-- file: simpleml-1_0.dtd -->
<!-- Bring in the XHTML datatypes -->
<!ENTITY % xhtml-datatypes.mod
PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod" >
%xhtml-datatypes.mod;
<!-- Declare the actual namespace of this module -->
<!ENTITY % SimpleML.xmlns "http://www.example.com/xmlns/simpleml1" >
<!-- By default, disable prefixing of new module -->
<!ENTITY % NS.prefixed "IGNORE" >
<!ENTITY % SimpleML.prefixed "%NS.prefixed;" >
<!-- Default prefix for module elements and attributes -->
<!ENTITY % SimpleML.prefix "simpleml" >
<!-- If this module's namespace is prefixed -->
<![%SimpleML.prefixed;[
<!ENTITY % SimpleML.pfx "%SimpleML.prefix;:" >
]]>
<!ENTITY % SimpleML.pfx "" >
<![%SimpleML.prefixed;[
<!ENTITY % SimpleML.xmlns.extra.attrib
"xmlns:%SimpleML.prefix; %URI.datatype; #FIXED '%SimpleML.xmlns;'" >
]]>
<!ENTITY % SimpleML.xmlns.extra.attrib "" >
<!ENTITY % XHTML.xmlns.extra.attrib
"%SimpleML.xmlns.extra.attrib;"
>
<!-- Set the content model for our language -->
<!ENTITY % xhtml-model.mod
SYSTEM "simpleml-model-1.mod" >
<!-- Instantiate xhtml basic's DTD to do all the work -->
<!ENTITY % xhtml-basic.dtd
PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd" >
%xhtml-basic.dtd;
Bei Einsatz dieser DTD lassen sich XML-Namensraumpräfixe wie im folgenden Beispiel einschalten:
<!DOCTYPE html SYSTEM "simpleml-1_0.dtd" [
<!ENTITY % SimpleML.prefixed "INCLUDE">
]>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:simpleml="http://www.example.com/xmlns/simpleml1" >
<head>
<title>An example using defaults</title>
</head>
<body>
<p>This is content in the XHTML namespace</p>
<simpleml:element>
This is content in the SimpleML namespace.
<simpleml:otherelement />
</simpleml:element>
<p><img src="missing" alt="Missing image" simpleml:myattr="value"/></p>
</body>
</html>
Als nächstes folgt der Fall, wobei ein vollständiges, zusätzliches und komplexes Modul zu XHTML (oder einer Teilmenge von XHTML) hinzugefügt wird. Im Grunde ist es das gleiche wie in dem trivialen Beispiel oben. Der einzige Unterschied besteht darin, dass das Modul durch Referenzierung in die DTD eingebaut wird und nicht durch explizite Aufnahme der neuen Definitionen.
Ein solches komplexes Modul ist die DTD für [MATHML]. Um MathML und XHTML in einer einzigen DTD zu integrieren, würde ein Autor nur entscheiden, wo MathML-Inhalt im Dokument zulässig ist und dann das Wurzelelement von MathML an dieser Stelle dem Inhaltsmodell hinzufügen. Als erstes definieren wir ein Modul für das Inhaltsmodell, instanziieren die MathML-DTD und verbinden sie mit dem Inhaltsmodell:
<!-- File: mathml-model.mod -->
<!ENTITY % XHTML1-math
PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" >
%XHTML1-math;
<!ENTITY % Inlspecial.extra
"%a.qname; | %img.qname; | %object.qname; | %map.qname;
| %Mathml.Math.qname;" >
Als nächstes definieren wir den DTD-Treiber, der unser neues Inhaltsmodellmodul als Inhaltsmodell für die DTD benennt und dann die weitere Arbeit beispielsweise dem Treiber von XHTML 1.1 überlässt:
<!-- File: xhtml-mathml.dtd -->
<!ENTITY % xhtml-model.mod
SYSTEM "mathml-model.mod" >
<!ENTITY % xhtml11.dtd
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
%xhtml11.dtd;
Eine weitere Möglichkeit, wie DTD-Autoren XHTML-Module benutzen können, besteht in der Definition einer DTD, die aus einer Teilmenge eines Dokumenttyps der XHTML-Familie besteht (zum Beispiel weil sie Geräte oder Software entwickeln, die nur einen Teil von XHTML unterstützen). Dies zu tun, ist nur wenig aufwendiger als das vorhergehende Beispiel. Die wesentlichen Schritte sind:
Nehmen wir beispielsweise ein Gerät an, das XHTML-Module, jedoch ohne Formulare und Tabellen benutzt. Die DTD für ein solches Gerät sähe wie folgt aus:
<!-- File: xhtml-simple.dtd -->
<!ENTITY % xhtml-form.module "IGNORE" >
<!ENTITY % xhtml-table.module "IGNORE" >
<!ENTITY % xhtml-table.module "IGNORE" >
<!-- Bring in the basic tables module -->
<!ENTITY % xhtml-basic-table.mod
PUBLIC "-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-basic-table-1.mod"
>
%xhtml-basic-table.mod;
<!ENTITY % xhtml11.mod
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
%xhtml11.mod;
Beachten Sie, dass die Inhaltsmodelle der XHTML 1.1-DTD dadurch in keiner Weise verändert werden. Da XML jedoch Elemente, in nicht definierten Inhaltsmodellen ignoriert, werden die Formular- und Tabellenelemente automatisch aus dem Modell entfernt.
Schließlich wollen einige DTD-Autoren vielleicht von vorn beginnen und das Modularisierungsrahmenwerk von XHTML als Baukasten für eine neue Auszeichnungssprache nutzen. Diese Sprache muss aus den mindestens benötigten Modulen von XHTML bestehen. Darüber hinaus darf sie andere XHTML-definierte Module oder jedes andere Modul enthalten, das der Autor einbauen möchte. In diesem Beispiel nehmen wir die notwendigen XHTML-Module, ergänzen ein paar weitere XHTML-Module und zudem das oben definierte Modul.
Im ersten Schritt benutzen wir das durch XHTML bereitgestellte Muster (www.w3.org/TR/xhtml-modularization/DTD/templates/template-qname-1.mod) für ein neues Teilmodul für qualifizierte Namen; wir ändern es, um die qualifizierten Namen und Namensräume für unsere neuen Elemente zu definieren.
<!-- file: myml-qname-1.mod -->
<!-- Bring in the datatypes - we use the URI.datatype PE for declaring the
xmlns attributes. -->
<!ENTITY % MyML-datatypes.mod
PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod" >
%MyML-datatypes.mod;
<!-- By default, disable prefixing of this module -->
<!ENTITY % NS.prefixed "IGNORE" >
<!ENTITY % MyML.prefixed "%NS.prefixed;" >
<!-- Declare the actual namespace of this module -->
<!ENTITY % MyML.xmlns "http://www.example.com/xmlns/myml" >
<!-- Declare the default prefix for this module -->
<!ENTITY % MyML.prefix "myml" >
<!-- If this module's namespace is prefixed -->
<![%MyML.prefixed;[
<!ENTITY % MyML.pfx "%MyML.prefix;:" >
]]>
<!ENTITY % MyML.pfx "" >
<!-- Declare a Parameter Entity (PE) that defines any external namespaces
that are used by this module -->
<!ENTITY % MyML.xmlns.extra.attrib "" >
<!-- Declare a PE that defines the xmlns attributes for use by MyML. -->
<![%MyML.prefixed;[
<!ENTITY % MyML.xmlns.attrib
"xmlns:%MyML.prefix; %URI.datatype; #FIXED '%MyML.xmlns;'
%MyML.xmlns.extra.attrib;"
>
]]>
<!ENTITY % MyML.xmlns.attrib
"xmlns %URI.datatype; #FIXED '%MyML.xmlns;'
%MyML.xmlns.extra.attrib;"
>
<!-- Make sure that the MyML namespace attributes are included on the XHTML
attribute set -->
<![%NS.prefixed;[
<!ENTITY % XHTML.xmlns.extra.attrib
"%MyML.xmlns.attrib;" >
]]>
<!ENTITY % XHTML.xmlns.extra.attrib
""
>
<!-- Now declare the element names -->
<!ENTITY % MyML.myelement.qname "%MyML.pfx;myelement" >
<!ENTITY % MyML.myotherelement.qname "%MyML.pfx;myotherelement" >
Als nächstes definieren wir ein Modul mit den Element- und Attributdefinitionen auf Basis es entsprechenden Musters (www.w3.org/TR/xhtml-modularization/DTD/templates/template-1.mod).
<!-- ...................................................................... -->
<!-- My Elements Module ................................................... -->
<!-- file: myml-elements-1_0.mod
PUBLIC "-//MY COMPANY//ELEMENTS XHTML MyML Elements 1.0//EN"
SYSTEM "http://example.com/DTDs/myml-elements-1_0.mod"
xmlns:myml="http://example.com/DTDs/myml-1_0.dtd"
...................................................................... -->
<!-- My Elements Module
myelement
myotherelement
This module has no purpose other than to provide structure for some
PCDATA content.
-->
<!ELEMENT %MyML.myelement.qname;
( #PCDATA | %MyML.myotherelement.qname; )* >
<!ATTLIST %MyML.myelement.qname;
myattribute CDATA #IMPLIED
%MyML.xmlns.attrib;
>
<!ELEMENT %MyML.myotherelement.qname; EMPTY >
<!ATTLIST %MyML.myotherelement.qname;
%MyML.xmlns.attrib;
>
<!ENTITY % MyML.img.myattr.qname "%MyML.pfx;myattr" >
<!ATTLIST %img.qname;
%MyML.img.myattr.qname; CDATA #IMPLIED
%MyML.xmlns.attrib;
>
<!-- end of myml-elements-1_0.mod -->
Nun schreiben wir Inhaltsmodelle, die die neuen Elemente und Attribute in die anderen XHTML-Elemente einhängen. Das folgende Beispiel ist entsprechend dem Inhaltsmodell von XHTML-Basic aufgebaut, es ist jedoch ein vollständiges, unabhängiges Inhaltsmodellmodul:
<!-- ...................................................................... -->
<!-- MyML Model Module ................................................... -->
<!-- file: myml-model-1.mod
PUBLIC "-//MY COMPANY//ELEMENTS XHTML MyML Model 1.0//EN"
SYSTEM "http://example.com/DTDs/myml-model-1_0.mod"
xmlns:myml="http://www.example.com/xmlns/myml"
...................................................................... -->
<!-- Define the content model for Misc.extra -->
<!ENTITY % Misc.class
"| %MyML.myelement.qname; ">
<!-- .................... Inline Elements ...................... -->
<!ENTITY % HeadOpts.mix
"( %meta.qname; )*" >
<!ENTITY % I18n.class "" >
<!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
"" >
<!ENTITY % Anchor.class "| %a.qname;" >
<!ENTITY % InlSpecial.class "| %img.qname; " >
<!ENTITY % Inline.extra "" >
<!-- %Inline.class; includes all inline elements,
used as a component in mixes
-->
<!ENTITY % Inline.class
"%InlStruct.class;
%InlPhras.class;
%InlPres.class;
%Anchor.class;
%InlSpecial.class;"
>
<!-- %InlNoAnchor.class; includes all non-anchor inlines,
used as a component in mixes
-->
<!ENTITY % InlNoAnchor.class
"%InlStruct.class;
%InlPhras.class;
%InlPres.class;
%InlSpecial.class;"
>
<!-- %InlNoAnchor.mix; includes all non-anchor inlines
-->
<!ENTITY % InlNoAnchor.mix
"%InlNoAnchor.class;
%Misc.class;"
>
<!-- %Inline.mix; includes all inline elements, including %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 % BlkStruct.class "%p.qname; | %div.qname;" >
<!ENTITY % BlkPhras.class
"| %pre.qname; | %blockquote.qname; | %address.qname;" >
<!ENTITY % BlkPres.class "" >
<!ENTITY % Block.extra "" >
<!-- %Block.class; includes all block elements,
used as an component in mixes
-->
<!ENTITY % Block.class
"%BlkStruct.class;
%BlkPhras.class;
%BlkPres.class;
%Block.extra;"
>
<!-- %Block.mix; includes all block elements plus %Misc.class;
-->
<!ENTITY % Block.mix
"%Heading.class;
| %List.class;
| %Block.class;
%Misc.class;"
>
<!-- ................ All Content Elements .................. -->
<!-- %Flow.mix; includes all text content, block and inline
-->
<!ENTITY % Flow.mix
"%Heading.class;
| %List.class;
| %Block.class;
| %Inline.class;
%Misc.class;"
>
<!-- special content model for pre element -->
<!ENTITY % pre.content
"( #PCDATA
| %Inline.class; )*"
>
<!-- end of myml-model-1.mod -->
Schließlich verwenden wir ein vorgegebenes Muster (www.w3.org/TR/xhtml-modularization/DTD/templates/template.dtd) für eine neue DTD, so modifiziert, wie es für unsere neue Auszeichnungssprache angebracht ist:
<!-- ....................................................................... -->
<!-- MYML DTD ............................................................. -->
<!-- file: myml-1_0.dtd -->
<!-- This is the DTD driver for myml 1.0.
Please use this formal public identifier to identify it:
"-//MY COMPANY//DTD XHTML MYML 1.0//EN"
And this namespace for myml-unique elements:
xmlns:myml="http://www.example.com/xmlns/myml"
-->
<!ENTITY % XHTML.version "-//MY COMPANY//DTD XHTML MYML 1.0//EN" >
<!-- reserved for use with document profiles -->
<!ENTITY % XHTML.profile "" >
<!-- Tell the framework to use our qualified names module as an extra qname
driver -->
<!ENTITY % xhtml-qname-extra.mod
SYSTEM "myml-qname-1.mod" >
<!-- Define the Content Model for the framework to use -->
<!ENTITY % xhtml-model.mod
SYSTEM "myml-model-1.mod" >
<!-- Disable bidirectional text support -->
<!ENTITY % XHTML.bidi "IGNORE" >
<!-- Bring in the XHTML Framework -->
<!ENTITY % xhtml-framework.mod
PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-framework-1.mod" >
%xhtml-framework.mod;
<!-- Basic Text Module (Required) ............................... -->
<!ENTITY % xhtml-text.mod
PUBLIC "-//W3C//ELEMENTS XHTML Basic Text 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-text-1.mod" >
%xhtml-text.mod;
<!-- Hypertext Module (required) ................................. -->
<!ENTITY % xhtml-hypertext.mod
PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-hypertext-1.mod" >
%xhtml-hypertext.mod;
<!-- Lists Module (required) .................................... -->
<!ENTITY % xhtml-list.mod
PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-list-1.mod" >
%xhtml-list.mod;
<!-- My Elements Module ........................................ -->
<!ENTITY % MyML-elements.mod
SYSTEM "myml-elements-1.mod" >
%MyML-elements.mod;
<!-- XHTML Images module ........................................ -->
<!ENTITY % xhtml-image.mod
PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-image-1.mod" >
%xhtml-image.mod;
<!-- Document Metainformation Module ............................ -->
<!ENTITY % xhtml-meta.mod
PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-meta-1.mod" >
%xhtml-meta.mod;
<!-- Document Structure Module (required) ....................... -->
<!ENTITY % xhtml-struct.mod
PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-struct-1.mod" >
%xhtml-struct.mod;
Wenn die DTD erst einmal fertig ist, kann sie in beliebigen Dokumenten benutzt werden. Die Benutzung besteht einfach aus dem Referenzieren in der DOCTYPE-Deklaration der Instanz:
<!DOCTYPE html SYSTEM "myml-1_0.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>An example using defaults</title> </head> <body> <p>This is content in the XHTML namespace</p> <myelement> This is content in the SimpleML namespace. <myotherelement /> </myelement> <p><img src="missing" alt="Missing image" myattr="value"/></p> </body> </html>
Das Dokument kann die Element außerhalb des XHTML-Namensraums auch mit Präfixen verwenden:
<!DOCTYPE html SYSTEM "myml-1_0.dtd" [ <!ENTITY % MyML.prefixed "INCLUDE" > ]> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>An example using defaults</title> </head> <body> <p>This is content in the XHTML namespace</p> <myml:myelement> This is content in the myml namespace. <myml:myotherelement /> </myml:myelement> <p><img src="missing" alt="Missing image" myml:myattr="value" /></p> </body> </html>
Dieser Anhang ist normativ.
Dieser Anhang enthält die DTD-Implementierungen der in Abschnitt 5 (Abstrakte XHTML-Module) definierten Module. Diese Modulimplementierungen können von jedem Dokumenttyp der XHTML-Familie benutzt werden.
XHTML-DTDs stellen eine Sammlung von benannten Zeichen-Entities zur Verfügung; sie werden in diesem Abschnitt definiert.
<!-- ...................................................................... -->
<!-- XML-compatible ISO Latin 1 Character Entity Set for XHTML ............ -->
<!-- file: xhtml-lat1.ent
Typical invocation:
<!ENTITY % xhtml-lat1
PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN"
"xhtml-lat1.ent" >
%xhtml-lat1;
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-lat1.ent"
Revision: $Id: xhtml-lat1.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with conforming
SGML systems and applications as defined in ISO 8879, provided
this notice is included in all copies.
-->
<!ENTITY nbsp " " ><!-- no-break space = non-breaking space, U+00A0 ISOnum -->
<!ENTITY iexcl "¡" ><!-- inverted exclamation mark, U+00A1 ISOnum -->
<!ENTITY cent "¢" ><!-- cent sign, U+00A2 ISOnum -->
<!ENTITY pound "£" ><!-- pound sign, U+00A3 ISOnum -->
<!ENTITY curren "¤" ><!-- currency sign, U+00A4 ISOnum -->
<!ENTITY yen "¥" ><!-- yen sign = yuan sign, U+00A5 ISOnum -->
<!ENTITY brvbar "¦" ><!-- broken bar = broken vertical bar, U+00A6 ISOnum -->
<!ENTITY sect "§" ><!-- section sign, U+00A7 ISOnum -->
<!ENTITY uml "¨" ><!-- diaeresis = spacing diaeresis, U+00A8 ISOdia -->
<!ENTITY copy "©" ><!-- copyright sign, U+00A9 ISOnum -->
<!ENTITY ordf "ª" ><!-- feminine ordinal indicator, U+00AA ISOnum -->
<!ENTITY laquo "«" ><!-- left-pointing double angle quotation mark = left pointing guillemet, U+00AB ISOnum -->
<!ENTITY not "¬" ><!-- not sign, U+00AC ISOnum -->
<!ENTITY shy "­" ><!-- soft hyphen = discretionary hyphen, U+00AD ISOnum -->
<!ENTITY reg "®" ><!-- registered sign = registered trade mark sign, U+00AE ISOnum -->
<!ENTITY macr "¯" ><!-- macron = spacing macron = overline = APL overbar, U+00AF ISOdia -->
<!ENTITY deg "°" ><!-- degree sign, U+00B0 ISOnum -->
<!ENTITY plusmn "±" ><!-- plus-minus sign = plus-or-minus sign, U+00B1 ISOnum -->
<!ENTITY sup2 "²" ><!-- superscript two = superscript digit two = squared, U+00B2 ISOnum -->
<!ENTITY sup3 "³" ><!-- superscript three = superscript digit three = cubed, U+00B3 ISOnum -->
<!ENTITY acute "´" ><!-- acute accent = spacing acute, U+00B4 ISOdia -->
<!ENTITY micro "µ" ><!-- micro sign, U+00B5 ISOnum -->
<!ENTITY para "¶" ><!-- pilcrow sign = paragraph sign, U+00B6 ISOnum -->
<!ENTITY middot "·" ><!-- middle dot = Georgian comma = Greek middle dot, U+00B7 ISOnum -->
<!ENTITY cedil "¸" ><!-- cedilla = spacing cedilla, U+00B8 ISOdia -->
<!ENTITY sup1 "¹" ><!-- superscript one = superscript digit one, U+00B9 ISOnum -->
<!ENTITY ordm "º" ><!-- masculine ordinal indicator, U+00BA ISOnum -->
<!ENTITY raquo "»" ><!-- right-pointing double angle quotation mark = right pointing guillemet, U+00BB ISOnum -->
<!ENTITY frac14 "¼" ><!-- vulgar fraction one quarter = fraction one quarter, U+00BC ISOnum -->
<!ENTITY frac12 "½" ><!-- vulgar fraction one half = fraction one half, U+00BD ISOnum -->
<!ENTITY frac34 "¾" ><!-- vulgar fraction three quarters = fraction three quarters, U+00BE ISOnum -->
<!ENTITY iquest "¿" ><!-- inverted question mark = turned question mark, U+00BF ISOnum -->
<!ENTITY Agrave "À" ><!-- latin capital A with grave = latin capital A grave, U+00C0 ISOlat1 -->
<!ENTITY Aacute "Á" ><!-- latin capital A with acute, U+00C1 ISOlat1 -->
<!ENTITY Acirc "Â" ><!-- latin capital A with circumflex, U+00C2 ISOlat1 -->
<!ENTITY Atilde "Ã" ><!-- latin capital A with tilde, U+00C3 ISOlat1 -->
<!ENTITY Auml "Ä" ><!-- latin capital A with diaeresis, U+00C4 ISOlat1 -->
<!ENTITY Aring "Å" ><!-- latin capital A with ring above = latin capital A ring, U+00C5 ISOlat1 -->
<!ENTITY AElig "Æ" ><!-- latin capital AE = latin capital ligature AE, U+00C6 ISOlat1 -->
<!ENTITY Ccedil "Ç" ><!-- latin capital C with cedilla, U+00C7 ISOlat1 -->
<!ENTITY Egrave "È" ><!-- latin capital E with grave, U+00C8 ISOlat1 -->
<!ENTITY Eacute "É" ><!-- latin capital E with acute, U+00C9 ISOlat1 -->
<!ENTITY Ecirc "Ê" ><!-- latin capital E with circumflex, U+00CA ISOlat1 -->
<!ENTITY Euml "Ë" ><!-- latin capital E with diaeresis, U+00CB ISOlat1 -->
<!ENTITY Igrave "Ì" ><!-- latin capital I with grave, U+00CC ISOlat1 -->
<!ENTITY Iacute "Í" ><!-- latin capital I with acute, U+00CD ISOlat1 -->
<!ENTITY Icirc "Î" ><!-- latin capital I with circumflex, U+00CE ISOlat1 -->
<!ENTITY Iuml "Ï" ><!-- latin capital I with diaeresis, U+00CF ISOlat1 -->
<!ENTITY ETH "Ð" ><!-- latin capital ETH, U+00D0 ISOlat1 -->
<!ENTITY Ntilde "Ñ" ><!-- latin capital N with tilde, U+00D1 ISOlat1 -->
<!ENTITY Ograve "Ò" ><!-- latin capital O with grave, U+00D2 ISOlat1 -->
<!ENTITY Oacute "Ó" ><!-- latin capital O with acute, U+00D3 ISOlat1 -->
<!ENTITY Ocirc "Ô" ><!-- latin capital O with circumflex, U+00D4 ISOlat1 -->
<!ENTITY Otilde "Õ" ><!-- latin capital O with tilde, U+00D5 ISOlat1 -->
<!ENTITY Ouml "Ö" ><!-- latin capital O with diaeresis, U+00D6 ISOlat1 -->
<!ENTITY times "×" ><!-- multiplication sign, U+00D7 ISOnum -->
<!ENTITY Oslash "Ø" ><!-- latin capital O with stroke = latin capital O slash, U+00D8 ISOlat1 -->
<!ENTITY Ugrave "Ù" ><!-- latin capital U with grave, U+00D9 ISOlat1 -->
<!ENTITY Uacute "Ú" ><!-- latin capital U with acute, U+00DA ISOlat1 -->
<!ENTITY Ucirc "Û" ><!-- latin capital U with circumflex, U+00DB ISOlat1 -->
<!ENTITY Uuml "Ü" ><!-- latin capital U with diaeresis, U+00DC ISOlat1 -->
<!ENTITY Yacute "Ý" ><!-- latin capital Y with acute, U+00DD ISOlat1 -->
<!ENTITY THORN "Þ" ><!-- latin capital THORN, U+00DE ISOlat1 -->
<!ENTITY szlig "ß" ><!-- latin small sharp s = ess-zed, U+00DF ISOlat1 -->
<!ENTITY agrave "à" ><!-- latin small a with grave = latin small a grave, U+00E0 ISOlat1 -->
<!ENTITY aacute "á" ><!-- latin small a with acute, U+00E1 ISOlat1 -->
<!ENTITY acirc "â" ><!-- latin small a with circumflex, U+00E2 ISOlat1 -->
<!ENTITY atilde "ã" ><!-- latin small a with tilde, U+00E3 ISOlat1 -->
<!ENTITY auml "ä" ><!-- latin small a with diaeresis, U+00E4 ISOlat1 -->
<!ENTITY aring "å" ><!-- latin small a with ring above = latin small a ring, U+00E5 ISOlat1 -->
<!ENTITY aelig "æ" ><!-- latin small ae = latin small ligature ae, U+00E6 ISOlat1 -->
<!ENTITY ccedil "ç" ><!-- latin small c with cedilla, U+00E7 ISOlat1 -->
<!ENTITY egrave "è" ><!-- latin small e with grave, U+00E8 ISOlat1 -->
<!ENTITY eacute "é" ><!-- latin small e with acute, U+00E9 ISOlat1 -->
<!ENTITY ecirc "ê" ><!-- latin small e with circumflex, U+00EA ISOlat1 -->
<!ENTITY euml "ë" ><!-- latin small e with diaeresis, U+00EB ISOlat1 -->
<!ENTITY igrave "ì" ><!-- latin small i with grave, U+00EC ISOlat1 -->
<!ENTITY iacute "í" ><!-- latin small i with acute, U+00ED ISOlat1 -->
<!ENTITY icirc "î" ><!-- latin small i with circumflex, U+00EE ISOlat1 -->
<!ENTITY iuml "ï" ><!-- latin small i with diaeresis, U+00EF ISOlat1 -->
<!ENTITY eth "ð" ><!-- latin small eth, U+00F0 ISOlat1 -->
<!ENTITY ntilde "ñ" ><!-- latin small n with tilde, U+00F1 ISOlat1 -->
<!ENTITY ograve "ò" ><!-- latin small o with grave, U+00F2 ISOlat1 -->
<!ENTITY oacute "ó" ><!-- latin small o with acute, U+00F3 ISOlat1 -->
<!ENTITY ocirc "ô" ><!-- latin small o with circumflex, U+00F4 ISOlat1 -->
<!ENTITY otilde "õ" ><!-- latin small o with tilde, U+00F5 ISOlat1 -->
<!ENTITY ouml "ö" ><!-- latin small o with diaeresis, U+00F6 ISOlat1 -->
<!ENTITY divide "÷" ><!-- division sign, U+00F7 ISOnum -->
<!ENTITY oslash "ø" ><!-- latin small o with stroke, = latin small o slash, U+00F8 ISOlat1 -->
<!ENTITY ugrave "ù" ><!-- latin small u with grave, U+00F9 ISOlat1 -->
<!ENTITY uacute "ú" ><!-- latin small u with acute, U+00FA ISOlat1 -->
<!ENTITY ucirc "û" ><!-- latin small u with circumflex, U+00FB ISOlat1 -->
<!ENTITY uuml "ü" ><!-- latin small u with diaeresis, U+00FC ISOlat1 -->
<!ENTITY yacute "ý" ><!-- latin small y with acute, U+00FD ISOlat1 -->
<!ENTITY thorn "þ" ><!-- latin small thorn with, U+00FE ISOlat1 -->
<!ENTITY yuml "ÿ" ><!-- latin small y with diaeresis, U+00FF ISOlat1 -->
<!-- end of xhtml-lat1.ent -->
<!-- ...................................................................... -->
<!-- XML-compatible ISO Special Character Entity Set for XHTML ............ -->
<!-- file: xhtml-special.ent
Typical invocation:
<!ENTITY % xhtml-special
PUBLIC "-//W3C//ENTITIES Special for XHTML//EN"
"xhtml-special.ent" >
%xhtml-special;
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES Special for XHTML//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-special.ent"
Revision: $Id: xhtml-special.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with conforming
SGML systems and applications as defined in ISO 8879, provided
this notice is included in all copies.
Revisions:
2000-10-28: added ' and altered XML Predefined Entities for compatibility
-->
<!-- Relevant ISO entity set is given unless names are newly introduced.
New names (i.e., not in ISO 8879 [SGML] list) do not clash with
any existing ISO 8879 entity names. ISO 10646 [ISO10646] character
numbers are given for each character, in hex. Entity values are
decimal conversions of the ISO 10646 values and refer to the
document character set. Names are Unicode [UNICODE] names.
-->
<!-- C0 Controls and Basic Latin -->
<!ENTITY lt "&<" ><!-- less-than sign, U+003C ISOnum -->
<!ENTITY gt ">" ><!-- greater-than sign, U+003E ISOnum -->
<!ENTITY amp "&&" ><!-- ampersand, U+0026 ISOnum -->
<!ENTITY apos "'" ><!-- apostrophe, U+0027 ISOnum -->
<!ENTITY quot """ ><!-- quotation mark = APL quote, U+0022 ISOnum -->
<!-- Latin Extended-A -->
<!ENTITY OElig "Œ" ><!-- latin capital ligature OE, U+0152 ISOlat2 -->
<!ENTITY oelig "œ" ><!-- latin small ligature oe, U+0153 ISOlat2 -->
<!-- ligature is a misnomer, this is a separate character in some languages -->
<!ENTITY Scaron "Š" ><!-- latin capital letter S with caron, U+0160 ISOlat2 -->
<!ENTITY scaron "š" ><!-- latin small letter s with caron, U+0161 ISOlat2 -->
<!ENTITY Yuml "Ÿ" ><!-- latin capital letter Y with diaeresis, U+0178 ISOlat2 -->
<!-- Spacing Modifier Letters -->
<!ENTITY circ "ˆ" ><!-- modifier letter circumflex accent, U+02C6 ISOpub -->
<!ENTITY tilde "˜" ><!-- small tilde, U+02DC ISOdia -->
<!-- General Punctuation -->
<!ENTITY ensp " " ><!-- en space, U+2002 ISOpub -->
<!ENTITY emsp " " ><!-- em space, U+2003 ISOpub -->
<!ENTITY thinsp " " ><!-- thin space, U+2009 ISOpub -->
<!ENTITY zwnj "‌" ><!-- zero width non-joiner, U+200C NEW RFC 2070 -->
<!ENTITY zwj "‍" ><!-- zero width joiner, U+200D NEW RFC 2070 -->
<!ENTITY lrm "‎" ><!-- left-to-right mark, U+200E NEW RFC 2070 -->
<!ENTITY rlm "‏" ><!-- right-to-left mark, U+200F NEW RFC 2070 -->
<!ENTITY ndash "–" ><!-- en dash, U+2013 ISOpub -->
<!ENTITY mdash "—" ><!-- em dash, U+2014 ISOpub -->
<!ENTITY lsquo "‘" ><!-- left single quotation mark, U+2018 ISOnum -->
<!ENTITY rsquo "’" ><!-- right single quotation mark, U+2019 ISOnum -->
<!ENTITY sbquo "‚" ><!-- single low-9 quotation mark, U+201A NEW -->
<!ENTITY ldquo "“" ><!-- left double quotation mark, U+201C ISOnum -->
<!ENTITY rdquo "”" ><!-- right double quotation mark, U+201D ISOnum -->
<!ENTITY bdquo "„" ><!-- double low-9 quotation mark, U+201E NEW -->
<!ENTITY dagger "†" ><!-- dagger, U+2020 ISOpub -->
<!ENTITY Dagger "‡" ><!-- double dagger, U+2021 ISOpub -->
<!ENTITY permil "‰" ><!-- per mille sign, U+2030 ISOtech -->
<!-- lsaquo is proposed but not yet ISO standardized -->
<!ENTITY lsaquo "‹" ><!-- single left-pointing angle quotation mark, U+2039 ISO proposed -->
<!-- rsaquo is proposed but not yet ISO standardized -->
<!ENTITY rsaquo "›" ><!-- single right-pointing angle quotation mark, U+203A ISO proposed -->
<!ENTITY euro "€" ><!-- euro sign, U+20AC NEW -->
<!-- end of xhtml-special.ent -->
<!-- ...................................................................... -->
<!-- ISO Math, Greek and Symbolic Character Entity Set for XHTML .......... -->
<!-- file: xhtml-symbol.ent
Typical invocation:
<!ENTITY % xhtml-symbol
PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN"
"xhtml-symbol.ent" >
%xhtml-symbol;
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-symbol.ent"
Revision: $Id: xhtml-symbol.ent,v 4.1 2001/04/10 09:34:14 altheim Exp $ SMI
Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with conforming
SGML systems and applications as defined in ISO 8879, provided
this notice is included in all copies.
-->
<!-- Relevant ISO entity set is given unless names are newly introduced.
New names (i.e., not in ISO 8879 [SGML] list) do not clash with
any existing ISO 8879 entity names. ISO 10646 [ISO10646] character
numbers are given for each character, in hex. Entity values are
decimal conversions of the ISO 10646 values and refer to the
document character set. Names are Unicode [UNICODE] names.
-->
<!-- Latin Extended-B -->
<!ENTITY fnof "ƒ" ><!-- latin small f with hook = function
= florin, U+0192 ISOtech -->
<!-- Greek -->
<!ENTITY Alpha "Α" ><!-- greek capital letter alpha, U+0391 -->
<!ENTITY Beta "Β" ><!-- greek capital letter beta, U+0392 -->
<!ENTITY Gamma "Γ" ><!-- greek capital letter gamma, U+0393 ISOgrk3 -->
<!ENTITY Delta "Δ" ><!-- greek capital letter delta, U+0394 ISOgrk3 -->
<!ENTITY Epsilon "Ε" ><!-- greek capital letter epsilon, U+0395 -->
<!ENTITY Zeta "Ζ" ><!-- greek capital letter zeta, U+0396 -->
<!ENTITY Eta "Η" ><!-- greek capital letter eta, U+0397 -->
<!ENTITY Theta "Θ" ><!-- greek capital letter theta, U+0398 ISOgrk3 -->
<!ENTITY Iota "Ι" ><!-- greek capital letter iota, U+0399 -->
<!ENTITY Kappa "Κ" ><!-- greek capital letter kappa, U+039A -->
<!ENTITY Lambda "Λ" ><!-- greek capital letter lambda, U+039B ISOgrk3 -->
<!ENTITY Mu "Μ" ><!-- greek capital letter mu, U+039C -->
<!ENTITY Nu "Ν" ><!-- greek capital letter nu, U+039D -->
<!ENTITY Xi "Ξ" ><!-- greek capital letter xi, U+039E ISOgrk3 -->
<!ENTITY Omicron "Ο" ><!-- greek capital letter omicron, U+039F -->
<!ENTITY Pi "Π" ><!-- greek capital letter pi, U+03A0 ISOgrk3 -->
<!ENTITY Rho "Ρ" ><!-- greek capital letter rho, U+03A1 -->
<!-- there is no Sigmaf, and no U+03A2 character either -->
<!ENTITY Sigma "Σ" ><!-- greek capital letter sigma, U+03A3 ISOgrk3 -->
<!ENTITY Tau "Τ" ><!-- greek capital letter tau, U+03A4 -->
<!ENTITY Upsilon "Υ" ><!-- greek capital letter upsilon,
U+03A5 ISOgrk3 -->
<!ENTITY Phi "Φ" ><!-- greek capital letter phi, U+03A6 ISOgrk3 -->
<!ENTITY Chi "Χ" ><!-- greek capital letter chi, U+03A7 -->
<!ENTITY Psi "Ψ" ><!-- greek capital letter psi, U+03A8 ISOgrk3 -->
<!ENTITY Omega "Ω" ><!-- greek capital letter omega, U+03A9 ISOgrk3 -->
<!ENTITY alpha "α" ><!-- greek small letter alpha, U+03B1 ISOgrk3 -->
<!ENTITY beta "β" ><!-- greek small letter beta, U+03B2 ISOgrk3 -->
<!ENTITY gamma "γ" ><!-- greek small letter gamma, U+03B3 ISOgrk3 -->
<!ENTITY delta "δ" ><!-- greek small letter delta, U+03B4 ISOgrk3 -->
<!ENTITY epsilon "ε" ><!-- greek small letter epsilon, U+03B5 ISOgrk3 -->
<!ENTITY zeta "ζ" ><!-- greek small letter zeta, U+03B6 ISOgrk3 -->
<!ENTITY eta "η" ><!-- greek small letter eta, U+03B7 ISOgrk3 -->
<!ENTITY theta "θ" ><!-- greek small letter theta, U+03B8 ISOgrk3 -->
<!ENTITY iota "ι" ><!-- greek small letter iota, U+03B9 ISOgrk3 -->
<!ENTITY kappa "κ" ><!-- greek small letter kappa, U+03BA ISOgrk3 -->
<!ENTITY lambda "λ" ><!-- greek small letter lambda, U+03BB ISOgrk3 -->
<!ENTITY mu "μ" ><!-- greek small letter mu, U+03BC ISOgrk3 -->
<!ENTITY nu "ν" ><!-- greek small letter nu, U+03BD ISOgrk3 -->
<!ENTITY xi "ξ" ><!-- greek small letter xi, U+03BE ISOgrk3 -->
<!ENTITY omicron "ο" ><!-- greek small letter omicron, U+03BF NEW -->
<!ENTITY pi "π" ><!-- greek small letter pi, U+03C0 ISOgrk3 -->
<!ENTITY rho "ρ" ><!-- greek small letter rho, U+03C1 ISOgrk3 -->
<!ENTITY sigmaf "ς" ><!-- greek small letter final sigma, U+03C2 ISOgrk3 -->
<!ENTITY sigma "σ" ><!-- greek small letter sigma, U+03C3 ISOgrk3 -->
<!ENTITY tau "τ" ><!-- greek small letter tau, U+03C4 ISOgrk3 -->
<!ENTITY upsilon "υ" ><!-- greek small letter upsilon, U+03C5 ISOgrk3 -->
<!ENTITY phi "φ" ><!-- greek small letter phi, U+03C6 ISOgrk3 -->
<!ENTITY chi "χ" ><!-- greek small letter chi, U+03C7 ISOgrk3 -->
<!ENTITY psi "ψ" ><!-- greek small letter psi, U+03C8 ISOgrk3 -->
<!ENTITY omega "ω" ><!-- greek small letter omega, U+03C9 ISOgrk3 -->
<!ENTITY thetasym "ϑ" ><!-- greek small letter theta symbol, U+03D1 NEW -->
<!ENTITY upsih "ϒ" ><!-- greek upsilon with hook symbol, U+03D2 NEW -->
<!ENTITY piv "ϖ" ><!-- greek pi symbol, U+03D6 ISOgrk3 -->
<!-- General Punctuation -->
<!ENTITY bull "•" ><!-- bullet = black small circle, U+2022 ISOpub -->
<!-- bullet is NOT the same as bullet operator, U+2219 -->
<!ENTITY hellip "…" ><!-- horizontal ellipsis = three dot leader, U+2026 ISOpub -->
<!ENTITY prime "′" ><!-- prime = minutes = feet, U+2032 ISOtech -->
<!ENTITY Prime "″" ><!-- double prime = seconds = inches, U+2033 ISOtech -->
<!ENTITY oline "‾" ><!-- overline = spacing overscore, U+203E NEW -->
<!ENTITY frasl "⁄" ><!-- fraction slash, U+2044 NEW -->
<!-- Letterlike Symbols -->
<!ENTITY weierp "℘" ><!-- script capital P = power set = Weierstrass p, U+2118 ISOamso -->
<!ENTITY image "ℑ" ><!-- blackletter capital I = imaginary part, U+2111 ISOamso -->
<!ENTITY real "ℜ" ><!-- blackletter capital R = real part symbol, U+211C ISOamso -->
<!ENTITY trade "™" ><!-- trade mark sign, U+2122 ISOnum -->
<!ENTITY alefsym "ℵ" ><!-- alef symbol = first transfinite cardinal, U+2135 NEW -->
<!-- alef symbol is NOT the same as hebrew letter alef, U+05D0 although
the same glyph could be used to depict both characters -->
<!-- Arrows -->
<!ENTITY larr "←" ><!-- leftwards arrow, U+2190 ISOnum -->
<!ENTITY uarr "↑" ><!-- upwards arrow, U+2191 ISOnum-->
<!ENTITY rarr "→" ><!-- rightwards arrow, U+2192 ISOnum -->
<!ENTITY darr "↓" ><!-- downwards arrow, U+2193 ISOnum -->
<!ENTITY harr "↔" ><!-- left right arrow, U+2194 ISOamsa -->
<!ENTITY crarr "↵" ><!-- downwards arrow with corner leftwards
= carriage return, U+21B5 NEW -->
<!ENTITY lArr "⇐" ><!-- leftwards double arrow, U+21D0 ISOtech -->
<!-- Unicode does not say that lArr is the same as the 'is implied by' arrow
but also does not have any other character for that function. So ? lArr can
be used for 'is implied by' as ISOtech suggests -->
<!ENTITY uArr "⇑" ><!-- upwards double arrow, U+21D1 ISOamsa -->
<!ENTITY rArr "⇒" ><!-- rightwards double arrow, U+21D2 ISOtech -->
<!-- Unicode does not say this is the 'implies' character but does not have
another character with this function so ?
rArr can be used for 'implies' as ISOtech suggests -->
<!ENTITY dArr "⇓" ><!-- downwards double arrow, U+21D3 ISOamsa -->
<!ENTITY hArr "⇔" ><!-- left right double arrow, U+21D4 ISOamsa -->
<!-- Mathematical Operators -->
<!ENTITY forall "∀" ><!-- for all, U+2200 ISOtech -->
<!ENTITY part "∂" ><!-- partial differential, U+2202 ISOtech -->
<!ENTITY exist "∃" ><!-- there exists, U+2203 ISOtech -->
<!ENTITY empty "∅" ><!-- empty set = null set = diameter, U+2205 ISOamso -->
<!ENTITY nabla "∇" ><!-- nabla = backward difference, U+2207 ISOtech -->
<!ENTITY isin "∈" ><!-- element of, U+2208 ISOtech -->
<!ENTITY notin "∉" ><!-- not an element of, U+2209 ISOtech -->
<!ENTITY ni "∋" ><!-- contains as member, U+220B ISOtech -->
<!-- should there be a more memorable name than 'ni'? -->
<!ENTITY prod "∏" ><!-- n-ary product = product sign, U+220F ISOamsb -->
<!-- prod is NOT the same character as U+03A0 'greek capital letter pi' though
the same glyph might be used for both -->
<!ENTITY sum "∑" ><!-- n-ary sumation, U+2211 ISOamsb -->
<!-- sum is NOT the same character as U+03A3 'greek capital letter sigma'
though the same glyph might be used for both -->
<!ENTITY minus "−" ><!-- minus sign, U+2212 ISOtech -->
<!ENTITY lowast "∗" ><!-- asterisk operator, U+2217 ISOtech -->
<!ENTITY radic "√" ><!-- square root = radical sign, U+221A ISOtech -->
<!ENTITY prop "∝" ><!-- proportional to, U+221D ISOtech -->
<!ENTITY infin "∞" ><!-- infinity, U+221E ISOtech -->
<!ENTITY ang "∠" ><!-- angle, U+2220 ISOamso -->
<!ENTITY and "∧" ><!-- logical and = wedge, U+2227 ISOtech -->
<!ENTITY or "∨" ><!-- logical or = vee, U+2228 ISOtech -->
<!ENTITY cap "∩" ><!-- intersection = cap, U+2229 ISOtech -->
<!ENTITY cup "∪" ><!-- union = cup, U+222A ISOtech -->
<!ENTITY int "∫" ><!-- integral, U+222B ISOtech -->
<!ENTITY there4 "∴" ><!-- therefore, U+2234 ISOtech -->
<!ENTITY sim "∼" ><!-- tilde operator = varies with = similar to, U+223C ISOtech -->
<!-- tilde operator is NOT the same character as the tilde, U+007E,
although the same glyph might be used to represent both -->
<!ENTITY cong "≅" ><!-- approximately equal to, U+2245 ISOtech -->
<!ENTITY asymp "≈" ><!-- almost equal to = asymptotic to, U+2248 ISOamsr -->
<!ENTITY ne "≠" ><!-- not equal to, U+2260 ISOtech -->
<!ENTITY equiv "≡" ><!-- identical to, U+2261 ISOtech -->
<!ENTITY le "≤" ><!-- less-than or equal to, U+2264 ISOtech -->
<!ENTITY ge "≥" ><!-- greater-than or equal to, U+2265 ISOtech -->
<!ENTITY sub "⊂" ><!-- subset of, U+2282 ISOtech -->
<!ENTITY sup "⊃" ><!-- superset of, U+2283 ISOtech -->
<!-- note that nsup, 'not a superset of, U+2283' is not covered by the Symbol
font encoding and is not included. Should it be, for symmetry?
It is in ISOamsn -->
<!ENTITY nsub "⊄" ><!-- not a subset of, U+2284 ISOamsn -->
<!ENTITY sube "⊆" ><!-- subset of or equal to, U+2286 ISOtech -->
<!ENTITY supe "⊇" ><!-- superset of or equal to, U+2287 ISOtech -->
<!ENTITY oplus "⊕" ><!-- circled plus = direct sum, U+2295 ISOamsb -->
<!ENTITY otimes "⊗" ><!-- circled times = vector product, U+2297 ISOamsb -->
<!ENTITY perp "⊥" ><!-- up tack = orthogonal to = perpendicular, U+22A5 ISOtech -->
<!ENTITY sdot "⋅" ><!-- dot operator, U+22C5 ISOamsb -->
<!-- dot operator is NOT the same character as U+00B7 middle dot -->
<!-- Miscellaneous Technical -->
<!ENTITY lceil "⌈" ><!-- left ceiling = apl upstile, U+2308 ISOamsc -->
<!ENTITY rceil "⌉" ><!-- right ceiling, U+2309 ISOamsc -->
<!ENTITY lfloor "⌊" ><!-- left floor = apl downstile, U+230A ISOamsc -->
<!ENTITY rfloor "⌋" ><!-- right floor, U+230B ISOamsc -->
<!ENTITY lang "〈" ><!-- left-pointing angle bracket = bra, U+2329 ISOtech -->
<!-- lang is NOT the same character as U+003C 'less than'
or U+2039 'single left-pointing angle quotation mark' -->
<!ENTITY rang "〉" ><!-- right-pointing angle bracket = ket, U+232A ISOtech -->
<!-- rang is NOT the same character as U+003E 'greater than'
or U+203A 'single right-pointing angle quotation mark' -->
<!-- Geometric Shapes -->
<!ENTITY loz "◊" ><!-- lozenge, U+25CA ISOpub -->
<!-- Miscellaneous Symbols -->
<!ENTITY spades "♠" ><!-- black spade suit, U+2660 ISOpub -->
<!-- black here seems to mean filled as opposed to hollow -->
<!ENTITY clubs "♣" ><!-- black club suit = shamrock, U+2663 ISOpub -->
<!ENTITY hearts "♥" ><!-- black heart suit = valentine, U+2665 ISOpub -->
<!ENTITY diams "♦" ><!-- black diamond suit, U+2666 ISOpub -->
<!-- end of xhtml-symbol.ent -->
Damit DTD-Autoren Nutzen aus den XHTML-DTD-Modulen ziehen können, müssen sie die Inhaltsmodelle für ihre DTD definieren. XHTML stellt eine Fülle an Werkzeugen zur Verfügung, um diese Arbeit zu erleichtern. Sie sind in einem Satz unterstützender Module definiert und werden durch ein zentrales Rahmenwerkmodul instanziiert:
<!-- ...................................................................... -->
<!-- XHTML Modular Framework Module ...................................... -->
<!-- file: xhtml-framework-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-framework-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-framework-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Modular Framework
This required module instantiates the modules needed
to support the XHTML modularization model, including:
+ notations
+ datatypes
+ namespace-qualified names
+ common attributes
+ document model
+ character entities
The Intrinsic Events module is ignored by default but
occurs in this module because it must be instantiated
prior to Attributes but after Datatypes.
-->
<!ENTITY % xhtml-arch.module "IGNORE" >
<![%xhtml-arch.module;[
<!ENTITY % xhtml-arch.mod
PUBLIC "-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN"
"xhtml-arch-1.mod" >
%xhtml-arch.mod;]]>
<!ENTITY % xhtml-notations.module "INCLUDE" >
<![%xhtml-notations.module;[
<!ENTITY % xhtml-notations.mod
PUBLIC "-//W3C//NOTATIONS XHTML Notations 1.0//EN"
"xhtml-notations-1.mod" >
%xhtml-notations.mod;]]>
<!ENTITY % xhtml-datatypes.module "INCLUDE" >
<![%xhtml-datatypes.module;[
<!ENTITY % xhtml-datatypes.mod
PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
"xhtml-datatypes-1.mod" >
%xhtml-datatypes.mod;]]>
<!-- placeholder for XLink support module -->
<!ENTITY % xhtml-xlink.mod "" >
%xhtml-xlink.mod;
<!ENTITY % xhtml-qname.module "INCLUDE" >
<![%xhtml-qname.module;[
<!ENTITY % xhtml-qname.mod
PUBLIC "-//W3C//ENTITIES XHTML Qualified Names 1.0//EN"
"xhtml-qname-1.mod" >
%xhtml-qname.mod;]]>
<!ENTITY % xhtml-events.module "IGNORE" >
<![%xhtml-events.module;[
<!ENTITY % xhtml-events.mod
PUBLIC "-//W3C//ENTITIES XHTML Intrinsic Events 1.0//EN"
"xhtml-events-1.mod" >
%xhtml-events.mod;]]>
<!ENTITY % xhtml-attribs.module "INCLUDE" >
<![%xhtml-attribs.module;[
<!ENTITY % xhtml-attribs.mod
PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
"xhtml-attribs-1.mod" >
%xhtml-attribs.mod;]]>
<!-- placeholder for content model redeclarations -->
<!ENTITY % xhtml-model.redecl "" >
%xhtml-model.redecl;
<!ENTITY % xhtml-model.module "INCLUDE" >
<![%xhtml-model.module;[
<!-- instantiate the Document Model module declared in the DTD driver
-->
%xhtml-model.mod;]]>
<!ENTITY % xhtml-charent.module "INCLUDE" >
<![%xhtml-charent.module;[
<!ENTITY % xhtml-charent.mod
PUBLIC "-//W3C//ENTITIES XHTML Character Entities 1.0//EN"
"xhtml-charent-1.mod" >
%xhtml-charent.mod;]]>
<!-- end of xhtml-framework-1.mod -->
Beachten Sie, dass das obige Modul ein Inhaltsmodellmodul referenziert. Dieses Modul wird »je Dokument« zusätzlich zum Dokumenttyp-Treiber definiert. Das modulare Rahmenwerk stützt sich außerdem auf die folgenden Komponentenmodule:
<!-- ...................................................................... -->
<!-- XHTML Base Architecture Module ...................................... -->
<!-- file: xhtml-arch-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-arch-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-arch-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- This optional module includes declarations that enable XHTML to be used
as a base architecture according to the 'Architectural Forms Definition
Requirements' (Annex A.3, ISO/IEC 10744, 2nd edition). For more information
on use of architectural forms, see the HyTime web site at:
http://www.hytime.org/
-->
<?IS10744 ArcBase xhtml ?>
<!NOTATION xhtml PUBLIC "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN" >
<!-- Entity declaration for associated Architectural DTD
-->
<!ENTITY xhtml-arch.dtd
PUBLIC "-//W3C//DTD XHTML Architecture 1.1//EN"
"xhtml11-arch.dtd" >
<?IS10744:arch xhtml
public-id = "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN"
dtd-public-id = "-//W3C//DTD XHTML 1.1//EN"
dtd-system-id = "xhtml11.dtd"
doc-elem-form = "html"
form-att = "html"
renamer-att = "htnames"
suppressor-att = "htsupp"
data-ignore-att = "htign"
auto = "ArcAuto"
options = "HtModReq HtModOpt"
HtModReq = "Framework Text Hypertext Lists Structure"
HtModOpt = "Standard"
?>
<!-- end of xhtml-arch-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Notations Module .............................................. -->
<!-- file: xhtml-notations-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-notations-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//NOTATIONS XHTML Notations 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-notations-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Notations
defines the following notations, many of these imported from
other specifications and standards. When an existing FPI is
known, it is incorporated here.
-->
<!-- XML Notations ..................................... -->
<!-- SGML and XML Notations ............................ -->
<!-- W3C XML 1.0 Recommendation -->
<!NOTATION w3c-xml
PUBLIC "ISO 8879//NOTATION Extensible Markup Language (XML) 1.0//EN" >
<!-- XML 1.0 CDATA -->
<!NOTATION cdata
PUBLIC "-//W3C//NOTATION XML 1.0: CDATA//EN" >
<!-- SGML Formal Public Identifiers -->
<!NOTATION fpi
PUBLIC "ISO 8879:1986//NOTATION Formal Public Identifier//EN" >
<!-- XHTML Notations ................................... -->
<!-- Length defined for cellpadding/cellspacing -->
<!-- nn for pixels or nn% for percentage length -->
<!NOTATION length
PUBLIC "-//W3C//NOTATION XHTML Datatype: Length//EN" >
<!-- space-separated list of link types -->
<!NOTATION linkTypes
PUBLIC "-//W3C//NOTATION XHTML Datatype: LinkTypes//EN" >
<!-- single or comma-separated list of media descriptors -->
<!NOTATION mediaDesc
PUBLIC "-//W3C//NOTATION XHTML Datatype: MediaDesc//EN" >
<!-- pixel, percentage, or relative -->
<!NOTATION multiLength
PUBLIC "-//W3C//NOTATION XHTML Datatype: MultiLength//EN" >
<!-- one or more digits (NUMBER) -->
<!NOTATION number
PUBLIC "-//W3C//NOTATION XHTML Datatype: Number//EN" >
<!-- integer representing length in pixels -->
<!NOTATION pixels
PUBLIC "-//W3C//NOTATION XHTML Datatype: Pixels//EN" >
<!-- script expression -->
<!NOTATION script
PUBLIC "-//W3C//NOTATION XHTML Datatype: Script//EN" >
<!-- textual content -->
<!NOTATION text
PUBLIC "-//W3C//NOTATION XHTML Datatype: Text//EN" >
<!-- Imported Notations ................................ -->
<!-- a single character from [ISO10646] -->
<!NOTATION character
PUBLIC "-//W3C//NOTATION XHTML Datatype: Character//EN" >
<!-- a character encoding, as per [RFC2045] -->
<!NOTATION charset
PUBLIC "-//W3C//NOTATION XHTML Datatype: Charset//EN" >
<!-- a space separated list of character encodings, as per [RFC2045] -->
<!NOTATION charsets
PUBLIC "-//W3C//NOTATION XHTML Datatype: Charsets//EN" >
<!-- media type, as per [RFC2045] -->
<!NOTATION contentType
PUBLIC "-//W3C//NOTATION XHTML Datatype: ContentType//EN" >
<!-- comma-separated list of media types, as per [RFC2045] -->
<!NOTATION contentTypes
PUBLIC "-//W3C//NOTATION XHTML Datatype: ContentTypes//EN" >
<!-- date and time information. ISO date format -->
<!NOTATION datetime
PUBLIC "-//W3C//NOTATION XHTML Datatype: Datetime//EN" >
<!-- a language code, as per [RFC3066] -->
<!NOTATION languageCode
PUBLIC "-//W3C//NOTATION XHTML Datatype: LanguageCode//EN" >
<!-- a Uniform Resource Identifier, see [URI] -->
<!NOTATION uri
PUBLIC "-//W3C//NOTATION XHTML Datatype: URI//EN" >
<!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
<!NOTATION uris
PUBLIC "-//W3C//NOTATION XHTML Datatype: URIs//EN" >
<!-- end of xhtml-notations-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Datatypes Module .............................................. -->
<!-- file: xhtml-datatypes-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-datatypes-1.mod,v 4.1 2001/04/06 19:23:32 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Datatypes
defines containers for the following datatypes, many of
these imported from other specifications and standards.
-->
<!-- Length defined for cellpadding/cellspacing -->
<!-- nn for pixels or nn% for percentage length -->
<!ENTITY % Length.datatype "CDATA" >
<!-- space-separated list of link types -->
<!ENTITY % LinkTypes.datatype "NMTOKENS" >
<!-- single or comma-separated list of media descriptors -->
<!ENTITY % MediaDesc.datatype "CDATA" >
<!-- pixel, percentage, or relative -->
<!ENTITY % MultiLength.datatype "CDATA" >
<!-- one or more digits (NUMBER) -->
<!ENTITY % Number.datatype "CDATA" >
<!-- integer representing length in pixels -->
<!ENTITY % Pixels.datatype "CDATA" >
<!-- script expression -->
<!ENTITY % Script.datatype "CDATA" >
<!-- textual content -->
<!ENTITY % Text.datatype "CDATA" >
<!-- Imported Datatypes ................................ -->
<!-- a single character from [ISO10646] -->
<!ENTITY % Character.datatype "CDATA" >
<!-- a character encoding, as per [RFC2045] -->
<!ENTITY % Charset.datatype "CDATA" >
<!-- a space separated list of character encodings, as per [RFC2045] -->
<!ENTITY % Charsets.datatype "CDATA" >
<!-- Color specification using color name or sRGB (#RRGGBB) values -->
<!ENTITY % Color.datatype "CDATA" >
<!-- media type, as per [RFC2045] -->
<!ENTITY % ContentType.datatype "CDATA" >
<!-- comma-separated list of media types, as per [RFC2045] -->
<!ENTITY % ContentTypes.datatype "CDATA" >
<!-- date and time information. ISO date format -->
<!ENTITY % Datetime.datatype "CDATA" >
<!-- formal public identifier, as per [ISO8879] -->
<!ENTITY % FPI.datatype "CDATA" >
<!-- a language code, as per [RFC3066] -->
<!ENTITY % LanguageCode.datatype "NMTOKEN" >
<!-- a Uniform Resource Identifier, see [URI] -->
<!ENTITY % URI.datatype "CDATA" >
<!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
<!ENTITY % URIs.datatype "CDATA" >
<!-- end of xhtml-datatypes-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Common Attributes Module ...................................... -->
<!-- file: xhtml-attribs-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-attribs-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-attribs-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Common Attributes
This module declares many of the common attributes for the XHTML DTD.
%NS.decl.attrib; is declared in the XHTML Qname module.
-->
<!ENTITY % id.attrib
"id ID #IMPLIED"
>
<!ENTITY % class.attrib
"class NMTOKENS #IMPLIED"
>
<!ENTITY % title.attrib
"title %Text.datatype; #IMPLIED"
>
<!ENTITY % Core.extra.attrib "" >
<!ENTITY % Core.attrib
"%XHTML.xmlns.attrib;
%id.attrib;
%class.attrib;
%title.attrib;
%Core.extra.attrib;"
>
<!ENTITY % lang.attrib
"xml:lang %LanguageCode.datatype; #IMPLIED"
>
<![%XHTML.bidi;[
<!ENTITY % dir.attrib
"dir ( ltr | rtl ) #IMPLIED"
>
<!ENTITY % I18n.attrib
"%dir.attrib;
%lang.attrib;"
>
]]>
<!ENTITY % I18n.attrib
"%lang.attrib;"
>
<!ENTITY % Common.extra.attrib "" >
<!-- intrinsic event attributes declared previously
-->
<!ENTITY % Events.attrib "" >
<!ENTITY % Common.attrib
"%Core.attrib;
%I18n.attrib;
%Events.attrib;
%Common.extra.attrib;"
>
<!-- end of xhtml-attribs-1.mod -->
<!-- ....................................................................... -->
<!-- XHTML Qname Module ................................................... -->
<!-- file: xhtml-qname-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-qname-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Qualified Names 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-qname-1.mod"
Revisions:
#2000-10-22: added qname declarations for ruby elements
....................................................................... -->
<!-- XHTML Qname (Qualified Name) Module
This module is contained in two parts, labeled Section 'A' and 'B':
Section A declares parameter entities to support namespace-
qualified names, namespace declarations, and name prefixing
for XHTML and extensions.
Section B declares parameter entities used to provide
namespace-qualified names for all XHTML element types:
%applet.qname; the xmlns-qualified name for <applet>
%base.qname; the xmlns-qualified name for <base>
...
XHTML extensions would create a module similar to this one.
Included in the XHTML distribution is a template module
('template-qname-1.mod') suitable for this purpose.
-->
<!-- Section A: XHTML XML Namespace Framework :::::::::::::::::::: -->
<!-- 1. Declare a %XHTML.prefixed; conditional section keyword, used
to activate namespace prefixing. The default value should
inherit '%NS.prefixed;' from the DTD driver, so that unless
overridden, the default behaviour follows the overall DTD
prefixing scheme.
-->
<!ENTITY % NS.prefixed "IGNORE" >
<!ENTITY % XHTML.prefixed "%NS.prefixed;" >
<!-- 2. Declare a parameter entity (eg., %XHTML.xmlns;) containing
the URI reference used to identify the XHTML namespace:
-->
<!ENTITY % XHTML.xmlns "http://www.w3.org/1999/xhtml" >
<!-- 3. Declare parameter entities (eg., %XHTML.prefix;) containing
the default namespace prefix string(s) to use when prefixing
is enabled. This may be overridden in the DTD driver or the
internal subset of an document instance. If no default prefix
is desired, this may be declared as an empty string.
NOTE: As specified in [XMLNAMES], the namespace prefix serves
as a proxy for the URI reference, and is not in itself significant.
-->
<!ENTITY % XHTML.prefix "" >
<!-- 4. Declare parameter entities (eg., %XHTML.pfx;) containing the
colonized prefix(es) (eg., '%XHTML.prefix;:') used when
prefixing is active, an empty string when it is not.
-->
<![%XHTML.prefixed;[
<!ENTITY % XHTML.pfx "%XHTML.prefix;:" >
]]>
<!ENTITY % XHTML.pfx "" >
<!-- declare qualified name extensions here ............ -->
<!ENTITY % xhtml-qname-extra.mod "" >
%xhtml-qname-extra.mod;
<!-- 5. The parameter entity %XHTML.xmlns.extra.attrib; may be
redeclared to contain any non-XHTML namespace declaration
attributes for namespaces embedded in XHTML. The default
is an empty string. XLink should be included here if used
in the DTD.
-->
<!ENTITY % XHTML.xmlns.extra.attrib "" >
<!-- The remainder of Section A is only followed in XHTML, not extensions. -->
<!-- Declare a parameter entity %NS.decl.attrib; containing
all XML Namespace declarations used in the DTD, plus the
xmlns declaration for XHTML, its form dependent on whether
prefixing is active.
-->
<![%XHTML.prefixed;[
<!ENTITY % NS.decl.attrib
"xmlns:%XHTML.prefix; %URI.datatype; #FIXED '%XHTML.xmlns;'
%XHTML.xmlns.extra.attrib;"
>
]]>
<!ENTITY % NS.decl.attrib
"%XHTML.xmlns.extra.attrib;"
>
<!-- This is a placeholder for future XLink support.
-->
<!ENTITY % XLINK.xmlns.attrib "" >
<!-- Declare a parameter entity %NS.decl.attrib; containing all
XML namespace declaration attributes used by XHTML, including
a default xmlns attribute when prefixing is inactive.
-->
<![%XHTML.prefixed;[
<!ENTITY % XHTML.xmlns.attrib
"%NS.decl.attrib;
%XLINK.xmlns.attrib;"
>
]]>
<!ENTITY % XHTML.xmlns.attrib
"xmlns %URI.datatype; #FIXED '%XHTML.xmlns;'
%XLINK.xmlns.attrib;"
>
<!-- placeholder for qualified name redeclarations -->
<!ENTITY % xhtml-qname.redecl "" >
%xhtml-qname.redecl;
<!-- Section B: XHTML Qualified Names ::::::::::::::::::::::::::::: -->
<!-- 6. This section declares parameter entities used to provide
namespace-qualified names for all XHTML element types.
-->
<!-- module: xhtml-applet-1.mod -->
<!ENTITY % applet.qname "%XHTML.pfx;applet" >
<!-- module: xhtml-base-1.mod -->
<!ENTITY % base.qname "%XHTML.pfx;base" >
<!-- module: xhtml-bdo-1.mod -->
<!ENTITY % bdo.qname "%XHTML.pfx;bdo" >
<!-- module: xhtml-blkphras-1.mod -->
<!ENTITY % address.qname "%XHTML.pfx;address" >
<!ENTITY % blockquote.qname "%XHTML.pfx;blockquote" >
<!ENTITY % pre.qname "%XHTML.pfx;pre" >
<!ENTITY % h1.qname "%XHTML.pfx;h1" >
<!ENTITY % h2.qname "%XHTML.pfx;h2" >
<!ENTITY % h3.qname "%XHTML.pfx;h3" >
<!ENTITY % h4.qname "%XHTML.pfx;h4" >
<!ENTITY % h5.qname "%XHTML.pfx;h5" >
<!ENTITY % h6.qname "%XHTML.pfx;h6" >
<!-- module: xhtml-blkpres-1.mod -->
<!ENTITY % hr.qname "%XHTML.pfx;hr" >
<!-- module: xhtml-blkstruct-1.mod -->
<!ENTITY % div.qname "%XHTML.pfx;div" >
<!ENTITY % p.qname "%XHTML.pfx;p" >
<!-- module: xhtml-edit-1.mod -->
<!ENTITY % ins.qname "%XHTML.pfx;ins" >
<!ENTITY % del.qname "%XHTML.pfx;del" >
<!-- module: xhtml-form-1.mod -->
<!ENTITY % form.qname "%XHTML.pfx;form" >
<!ENTITY % label.qname "%XHTML.pfx;label" >
<!ENTITY % input.qname "%XHTML.pfx;input" >
<!ENTITY % select.qname "%XHTML.pfx;select" >
<!ENTITY % optgroup.qname "%XHTML.pfx;optgroup" >
<!ENTITY % option.qname "%XHTML.pfx;option" >
<!ENTITY % textarea.qname "%XHTML.pfx;textarea" >
<!ENTITY % fieldset.qname "%XHTML.pfx;fieldset" >
<!ENTITY % legend.qname "%XHTML.pfx;legend" >
<!ENTITY % button.qname "%XHTML.pfx;button" >
<!-- module: xhtml-hypertext-1.mod -->
<!ENTITY % a.qname "%XHTML.pfx;a" >
<!-- module: xhtml-image-1.mod -->
<!ENTITY % img.qname "%XHTML.pfx;img" >
<!-- module: xhtml-inlphras-1.mod -->
<!ENTITY % abbr.qname "%XHTML.pfx;abbr" >
<!ENTITY % acronym.qname "%XHTML.pfx;acronym" >
<!ENTITY % cite.qname "%XHTML.pfx;cite" >
<!ENTITY % code.qname "%XHTML.pfx;code" >
<!ENTITY % dfn.qname "%XHTML.pfx;dfn" >
<!ENTITY % em.qname "%XHTML.pfx;em" >
<!ENTITY % kbd.qname "%XHTML.pfx;kbd" >
<!ENTITY % q.qname "%XHTML.pfx;q" >
<!ENTITY % samp.qname "%XHTML.pfx;samp" >
<!ENTITY % strong.qname "%XHTML.pfx;strong" >
<!ENTITY % var.qname "%XHTML.pfx;var" >
<!-- module: xhtml-inlpres-1.mod -->
<!ENTITY % b.qname "%XHTML.pfx;b" >
<!ENTITY % big.qname "%XHTML.pfx;big" >
<!ENTITY % i.qname "%XHTML.pfx;i" >
<!ENTITY % small.qname "%XHTML.pfx;small" >
<!ENTITY % sub.qname "%XHTML.pfx;sub" >
<!ENTITY % sup.qname "%XHTML.pfx;sup" >
<!ENTITY % tt.qname "%XHTML.pfx;tt" >
<!-- module: xhtml-inlstruct-1.mod -->
<!ENTITY % br.qname "%XHTML.pfx;br" >
<!ENTITY % span.qname "%XHTML.pfx;span" >
<!-- module: xhtml-ismap-1.mod (also csismap, ssismap) -->
<!ENTITY % map.qname "%XHTML.pfx;map" >
<!ENTITY % area.qname "%XHTML.pfx;area" >
<!-- module: xhtml-link-1.mod -->
<!ENTITY % link.qname "%XHTML.pfx;link" >
<!-- module: xhtml-list-1.mod -->
<!ENTITY % dl.qname "%XHTML.pfx;dl" >
<!ENTITY % dt.qname "%XHTML.pfx;dt" >
<!ENTITY % dd.qname "%XHTML.pfx;dd" >
<!ENTITY % ol.qname "%XHTML.pfx;ol" >
<!ENTITY % ul.qname "%XHTML.pfx;ul" >
<!ENTITY % li.qname "%XHTML.pfx;li" >
<!-- module: xhtml-meta-1.mod -->
<!ENTITY % meta.qname "%XHTML.pfx;meta" >
<!-- module: xhtml-param-1.mod -->
<!ENTITY % param.qname "%XHTML.pfx;param" >
<!-- module: xhtml-object-1.mod -->
<!ENTITY % object.qname "%XHTML.pfx;object" >
<!-- module: xhtml-script-1.mod -->
<!ENTITY % script.qname "%XHTML.pfx;script" >
<!ENTITY % noscript.qname "%XHTML.pfx;noscript" >
<!-- module: xhtml-struct-1.mod -->
<!ENTITY % html.qname "%XHTML.pfx;html" >
<!ENTITY % head.qname "%XHTML.pfx;head" >
<!ENTITY % title.qname "%XHTML.pfx;title" >
<!ENTITY % body.qname "%XHTML.pfx;body" >
<!-- module: xhtml-style-1.mod -->
<!ENTITY % style.qname "%XHTML.pfx;style" >
<!-- module: xhtml-table-1.mod -->
<!ENTITY % table.qname "%XHTML.pfx;table" >
<!ENTITY % caption.qname "%XHTML.pfx;caption" >
<!ENTITY % thead.qname "%XHTML.pfx;thead" >
<!ENTITY % tfoot.qname "%XHTML.pfx;tfoot" >
<!ENTITY % tbody.qname "%XHTML.pfx;tbody" >
<!ENTITY % colgroup.qname "%XHTML.pfx;colgroup" >
<!ENTITY % col.qname "%XHTML.pfx;col" >
<!ENTITY % tr.qname "%XHTML.pfx;tr" >
<!ENTITY % th.qname "%XHTML.pfx;th" >
<!ENTITY % td.qname "%XHTML.pfx;td" >
<!-- module: xhtml-ruby-1.mod -->
<!ENTITY % ruby.qname "%XHTML.pfx;ruby" >
<!ENTITY % rbc.qname "%XHTML.pfx;rbc" >
<!ENTITY % rtc.qname "%XHTML.pfx;rtc" >
<!ENTITY % rb.qname "%XHTML.pfx;rb" >
<!ENTITY % rt.qname "%XHTML.pfx;rt" >
<!ENTITY % rp.qname "%XHTML.pfx;rp" >
<!-- Provisional XHTML 2.0 Qualified Names ...................... -->
<!-- module: xhtml-image-2.mod -->
<!ENTITY % alt.qname "%XHTML.pfx;alt" >
<!-- end of xhtml-qname-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Character Entities Module ......................................... -->
<!-- file: xhtml-charent-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-charent-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Character Entities 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-charent-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Character Entities for XHTML
This module declares the set of character entities for XHTML,
including the Latin 1, Symbol and Special character collections.
-->
<!ENTITY % xhtml-lat1
PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN"
"xhtml-lat1.ent" >
%xhtml-lat1;
<!ENTITY % xhtml-symbol
PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN"
"xhtml-symbol.ent" >
%xhtml-symbol;
<!ENTITY % xhtml-special
PUBLIC "-//W3C//ENTITIES Special for XHTML//EN"
"xhtml-special.ent" >
%xhtml-special;
<!-- end of xhtml-charent-1.mod -->
Dieser Abschnitt enthält die formalen Definitionen jedes der abstrakten XHTML-Module in Form eines DTD-Moduls.
<!-- ...................................................................... -->
<!-- XHTML Structure Module .............................................. -->
<!-- file: xhtml-struct-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-struct-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-struct-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Document Structure
title, head, body, html
The Structure Module defines the major structural elements and
their attributes.
Note that the content model of the head element type is redeclared
when the Base Module is included in the DTD.
The parameter entity containing the XML namespace URI value used
for XHTML is '%XHTML.xmlns;', defined in the Qualified Names module.
-->
<!-- title: Document Title ............................. -->
<!-- The title element is not considered part of the flow of text.
It should be displayed, for example as the page header or
window title. Exactly one title is required per document.
-->
<!ENTITY % title.element "INCLUDE" >
<![%title.element;[
<!ENTITY % title.content "( #PCDATA )" >
<!ENTITY % title.qname "title" >
<!ELEMENT %title.qname; %title.content; >
<!-- end of title.element -->]]>
<!ENTITY % title.attlist "INCLUDE" >
<![%title.attlist;[
<!ATTLIST %title.qname;
%XHTML.xmlns.attrib;
%I18n.attrib;
>
<!-- end of title.attlist -->]]>
<!-- head: Document Head ............................... -->
<!ENTITY % head.element "INCLUDE" >
<![%head.element;[
<!ENTITY % head.content
"( %HeadOpts.mix;, %title.qname;, %HeadOpts.mix; )"
>
<!ENTITY % head.qname "head" >
<!ELEMENT %head.qname; %head.content; >
<!-- end of head.element -->]]>
<!ENTITY % head.attlist "INCLUDE" >
<![%head.attlist;[
<!-- reserved for future use with document profiles
-->
<!ENTITY % profile.attrib
"profile %URI.datatype; '%XHTML.profile;'"
>
<!ATTLIST %head.qname;
%XHTML.xmlns.attrib;
%I18n.attrib;
%profile.attrib;
>
<!-- end of head.attlist -->]]>
<!-- body: Document Body ............................... -->
<!ENTITY % body.element "INCLUDE" >
<![%body.element;[
<!ENTITY % body.content
"( %Block.mix; )+"
>
<!ENTITY % body.qname "body" >
<!ELEMENT %body.qname; %body.content; >
<!-- end of body.element -->]]>
<!ENTITY % body.attlist "INCLUDE" >
<![%body.attlist;[
<!ATTLIST %body.qname;
%Common.attrib;
>
<!-- end of body.attlist -->]]>
<!-- html: XHTML Document Element ...................... -->
<!ENTITY % html.element "INCLUDE" >
<![%html.element;[
<!ENTITY % html.content "( %head.qname;, %body.qname; )" >
<!ENTITY % html.qname "html" >
<!ELEMENT %html.qname; %html.content; >
<!-- end of html.element -->]]>
<!ENTITY % html.attlist "INCLUDE" >
<![%html.attlist;[
<!-- version attribute value defined in driver
-->
<!ENTITY % XHTML.version.attrib
"version %FPI.datatype; #FIXED '%XHTML.version;'"
>
<!-- see the Qualified Names module for information
on how to extend XHTML using XML namespaces
-->
<!ATTLIST %html.qname;
%XHTML.xmlns.attrib;
%XHTML.version.attrib;
%I18n.attrib;
>
<!-- end of html.attlist -->]]>
<!-- end of xhtml-struct-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Text Module ................................................... -->
<!-- file: xhtml-text-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-text-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Text 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-text-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Textual Content
The Text module includes declarations for all core
text container elements and their attributes.
-->
<!ENTITY % xhtml-inlstruct.module "INCLUDE" >
<![%xhtml-inlstruct.module;[
<!ENTITY % xhtml-inlstruct.mod
PUBLIC "-//W3C//ELEMENTS XHTML Inline Structural 1.0//EN"
"xhtml-inlstruct-1.mod" >
%xhtml-inlstruct.mod;]]>
<!ENTITY % xhtml-inlphras.module "INCLUDE" >
<![%xhtml-inlphras.module;[
<!ENTITY % xhtml-inlphras.mod
PUBLIC "-//W3C//ELEMENTS XHTML Inline Phrasal 1.0//EN"
"xhtml-inlphras-1.mod" >
%xhtml-inlphras.mod;]]>
<!ENTITY % xhtml-blkstruct.module "INCLUDE" >
<![%xhtml-blkstruct.module;[
<!ENTITY % xhtml-blkstruct.mod
PUBLIC "-//W3C//ELEMENTS XHTML Block Structural 1.0//EN"
"xhtml-blkstruct-1.mod" >
%xhtml-blkstruct.mod;]]>
<!ENTITY % xhtml-blkphras.module "INCLUDE" >
<![%xhtml-blkphras.module;[
<!ENTITY % xhtml-blkphras.mod
PUBLIC "-//W3C//ELEMENTS XHTML Block Phrasal 1.0//EN"
"xhtml-blkphras-1.mod" >
%xhtml-blkphras.mod;]]>
<!-- end of xhtml-text-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Hypertext Module .............................................. -->
<!-- file: xhtml-hypertext-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-hypertext-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-hypertext-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Hypertext
a
This module declares the anchor ('a') element type, which
defines the source of a hypertext link. The destination
(or link 'target') is identified via its 'id' attribute
rather than the 'name' attribute as was used in HTML.
-->
<!-- ............ Anchor Element ............ -->
<!ENTITY % a.element "INCLUDE" >
<![%a.element;[
<!ENTITY % a.content
"( #PCDATA | %InlNoAnchor.mix; )*"
>
<!ENTITY % a.qname "a" >
<!ELEMENT %a.qname; %a.content; >
<!-- end of a.element -->]]>
<!ENTITY % a.attlist "INCLUDE" >
<![%a.attlist;[
<!ATTLIST %a.qname;
%Common.attrib;
href %URI.datatype; #IMPLIED
charset %Charset.datatype; #IMPLIED
type %ContentType.datatype; #IMPLIED
hreflang %LanguageCode.datatype; #IMPLIED
rel %LinkTypes.datatype; #IMPLIED
rev %LinkTypes.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
tabindex %Number.datatype; #IMPLIED
>
<!-- end of a.attlist -->]]>
<!-- end of xhtml-hypertext-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Lists Module .................................................. -->
<!-- file: xhtml-list-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-list-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-list-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Lists
dl, dt, dd, ol, ul, li
This module declares the list-oriented element types
and their attributes.
-->
<!ENTITY % dl.qname "dl" >
<!ENTITY % dt.qname "dt" >
<!ENTITY % dd.qname "dd" >
<!ENTITY % ol.qname "ol" >
<!ENTITY % ul.qname "ul" >
<!ENTITY % li.qname "li" >
<!-- dl: Definition List ............................... -->
<!ENTITY % dl.element "INCLUDE" >
<![%dl.element;[
<!ENTITY % dl.content "( %dt.qname; | %dd.qname; )+" >
<!ELEMENT %dl.qname; %dl.content; >
<!-- end of dl.element -->]]>
<!ENTITY % dl.attlist "INCLUDE" >
<![%dl.attlist;[
<!ATTLIST %dl.qname;
%Common.attrib;
>
<!-- end of dl.attlist -->]]>
<!-- dt: Definition Term ............................... -->
<!ENTITY % dt.element "INCLUDE" >
<![%dt.element;[
<!ENTITY % dt.content
"( #PCDATA | %Inline.mix; )*"
>
<!ELEMENT %dt.qname; %dt.content; >
<!-- end of dt.element -->]]>
<!ENTITY % dt.attlist "INCLUDE" >
<![%dt.attlist;[
<!ATTLIST %dt.qname;
%Common.attrib;
>
<!-- end of dt.attlist -->]]>
<!-- dd: Definition Description ........................ -->
<!ENTITY % dd.element "INCLUDE" >
<![%dd.element;[
<!ENTITY % dd.content
"( #PCDATA | %Flow.mix; )*"
>
<!ELEMENT %dd.qname; %dd.content; >
<!-- end of dd.element -->]]>
<!ENTITY % dd.attlist "INCLUDE" >
<![%dd.attlist;[
<!ATTLIST %dd.qname;
%Common.attrib;
>
<!-- end of dd.attlist -->]]>
<!-- ol: Ordered List (numbered styles) ................ -->
<!ENTITY % ol.element "INCLUDE" >
<![%ol.element;[
<!ENTITY % ol.content "( %li.qname; )+" >
<!ELEMENT %ol.qname; %ol.content; >
<!-- end of ol.element -->]]>
<!ENTITY % ol.attlist "INCLUDE" >
<![%ol.attlist;[
<!ATTLIST %ol.qname;
%Common.attrib;
>
<!-- end of ol.attlist -->]]>
<!-- ul: Unordered List (bullet styles) ................ -->
<!ENTITY % ul.element "INCLUDE" >
<![%ul.element;[
<!ENTITY % ul.content "( %li.qname; )+" >
<!ELEMENT %ul.qname; %ul.content; >
<!-- end of ul.element -->]]>
<!ENTITY % ul.attlist "INCLUDE" >
<![%ul.attlist;[
<!ATTLIST %ul.qname;
%Common.attrib;
>
<!-- end of ul.attlist -->]]>
<!-- li: List Item ..................................... -->
<!ENTITY % li.element "INCLUDE" >
<![%li.element;[
<!ENTITY % li.content
"( #PCDATA | %Flow.mix; )*"
>
<!ELEMENT %li.qname; %li.content; >
<!-- end of li.element -->]]>
<!ENTITY % li.attlist "INCLUDE" >
<![%li.attlist;[
<!ATTLIST %li.qname;
%Common.attrib;
>
<!-- end of li.attlist -->]]>
<!-- end of xhtml-list-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Java Applet Module ............................................ -->
<!-- file: xhtml-applet-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-applet-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Java Applets 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-applet-1.mod"
Revisions:
#2001-02-20: added PCDATA to content model of applet
....................................................................... -->
<!-- Java Applets
applet
This module declares the applet element type and its attributes,
used to provide support for Java applets. The 'alt' attribute is
now required (as it is on images). One of either code or object
attributes must be present. In the document, place param elements
before other content within the <applet> element.
Note that use of this module requires instantiation of the Param
Element Module.
-->
<!-- applet: Java Applet ............................... -->
<!ENTITY % applet.element "INCLUDE" >
<![%applet.element;[
<!ENTITY % applet.content
"( #PCDATA | %param.qname; | %Flow.mix; )*"
>
<!ENTITY % applet.qname "applet" >
<!ELEMENT %applet.qname; %applet.content; >
<!-- end of applet.element -->]]>
<!ENTITY % applet.attlist "INCLUDE" >
<![%applet.attlist;[
<!ATTLIST %applet.qname;
%Core.attrib;
alt %Text.datatype; #REQUIRED
archive CDATA #IMPLIED
code CDATA #IMPLIED
codebase %URI.datatype; #IMPLIED
object CDATA #IMPLIED
width %Length.datatype; #REQUIRED
height %Length.datatype; #REQUIRED
>
<!-- end of applet.attlist -->]]>
<!-- end of xhtml-applet-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Presentation Module ............................................ -->
<!-- file: xhtml-pres-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-pres-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Presentation 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-pres-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Presentational Elements
This module defines elements and their attributes for
simple presentation-related markup.
-->
<!ENTITY % xhtml-inlpres.module "INCLUDE" >
<![%xhtml-inlpres.module;[
<!ENTITY % xhtml-inlpres.mod
PUBLIC "-//W3C//ELEMENTS XHTML Inline Presentation 1.0//EN"
"xhtml-inlpres-1.mod" >
%xhtml-inlpres.mod;]]>
<!ENTITY % xhtml-blkpres.module "INCLUDE" >
<![%xhtml-blkpres.module;[
<!ENTITY % xhtml-blkpres.mod
PUBLIC "-//W3C//ELEMENTS XHTML Block Presentation 1.0//EN"
"xhtml-blkpres-1.mod" >
%xhtml-blkpres.mod;]]>
<!-- end of xhtml-pres-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Editing Elements Module ....................................... -->
<!-- file: xhtml-edit-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-edit-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Editing Markup 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-edit-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Editing Elements
ins, del
This module declares element types and attributes used to indicate
inserted and deleted content while editing a document.
-->
<!-- ins: Inserted Text ............................... -->
<!ENTITY % ins.element "INCLUDE" >
<![%ins.element;[
<!ENTITY % ins.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % ins.qname "ins" >
<!ELEMENT %ins.qname; %ins.content; >
<!-- end of ins.element -->]]>
<!ENTITY % ins.attlist "INCLUDE" >
<![%ins.attlist;[
<!ATTLIST %ins.qname;
%Common.attrib;
cite %URI.datatype; #IMPLIED
datetime %Datetime.datatype; #IMPLIED
>
<!-- end of ins.attlist -->]]>
<!-- del: Deleted Text ................................ -->
<!ENTITY % del.element "INCLUDE" >
<![%del.element;[
<!ENTITY % del.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % del.qname "del" >
<!ELEMENT %del.qname; %del.content; >
<!-- end of del.element -->]]>
<!ENTITY % del.attlist "INCLUDE" >
<![%del.attlist;[
<!ATTLIST %del.qname;
%Common.attrib;
cite %URI.datatype; #IMPLIED
datetime %Datetime.datatype; #IMPLIED
>
<!-- end of del.attlist -->]]>
<!-- end of xhtml-edit-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML BDO Element Module ............................................. -->
<!-- file: xhtml-bdo-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-bdo-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML BDO Element 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-bdo-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Bidirectional Override (bdo) Element
This modules declares the element 'bdo', used to override the
Unicode bidirectional algorithm for selected fragments of text.
DEPENDENCIES:
Relies on the conditional section keyword %XHTML.bidi; declared
as "INCLUDE". Bidirectional text support includes both the bdo
element and the 'dir' attribute.
-->
<!ENTITY % bdo.element "INCLUDE" >
<![%bdo.element;[
<!ENTITY % bdo.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % bdo.qname "bdo" >
<!ELEMENT %bdo.qname; %bdo.content; >
<!-- end of bdo.element -->]]>
<!ENTITY % bdo.attlist "INCLUDE" >
<![%bdo.attlist;[
<!ATTLIST %bdo.qname;
%Core.attrib;
xml:lang %LanguageCode.datatype; #IMPLIED
dir ( ltr | rtl ) #REQUIRED
>
]]>
<!-- end of xhtml-bdo-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Simplified Forms Module ....................................... -->
<!-- file: xhtml-basic-form-1.mod
This is XHTML Basic, a proper subset of XHTML.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-basic-form-1.mod,v 4.1 2001/04/05 06:57:40 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Basic Forms 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-basic-form-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Basic Forms
This forms module is based on the HTML 3.2 forms model, with
the WAI-requested addition of the label element. While this
module essentially mimics the content model and attributes of
HTML 3.2 forms, the element types declared herein also include
all HTML 4 common attributes.
form, label, input, select, option, textarea
-->
<!-- declare qualified element type names:
-->
<!ENTITY % form.qname "form" >
<!ENTITY % label.qname "label" >
<!ENTITY % input.qname "input" >
<!ENTITY % select.qname "select" >
<!ENTITY % option.qname "option" >
<!ENTITY % textarea.qname "textarea" >
<!-- %BlkNoForm.mix; includes all non-form block elements,
plus %Misc.class;
-->
<!ENTITY % BlkNoForm.mix
"%Heading.class;
| %List.class;
| %BlkStruct.class;
%BlkPhras.class;
%BlkPres.class;
| %table.qname;
%Block.extra;
%Misc.class;"
>
<!-- form: Form Element ................................ -->
<!ENTITY % form.element "INCLUDE" >
<![%form.element;[
<!ENTITY % form.content
"( %BlkNoForm.mix; )+"
>
<!ELEMENT %form.qname; %form.content; >
<!-- end of form.element -->]]>
<!ENTITY % form.attlist "INCLUDE" >
<![%form.attlist;[
<!ATTLIST %form.qname;
%Common.attrib;
action %URI.datatype; #REQUIRED
method ( get | post ) 'get'
enctype %ContentType.datatype; 'application/x-www-form-urlencoded'
>
<!-- end of form.attlist -->]]>
<!-- label: Form Field Label Text ...................... -->
<!ENTITY % label.element "INCLUDE" >
<![%label.element;[
<!-- Each label must not contain more than ONE field
-->
<!ENTITY % label.content
"( #PCDATA
| %input.qname; | %select.qname; | %textarea.qname;
| %InlStruct.class;
%InlPhras.class;
%I18n.class;
%InlPres.class;
%InlSpecial.class;
%Misc.class; )*"
>
<!ELEMENT %label.qname; %label.content; >
<!-- end of label.element -->]]>
<!ENTITY % label.attlist "INCLUDE" >
<![%label.attlist;[
<!ATTLIST %label.qname;
%Common.attrib;
for IDREF #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of label.attlist -->]]>
<!-- input: Form Control ............................... -->
<!ENTITY % input.element "INCLUDE" >
<![%input.element;[
<!ENTITY % input.content "EMPTY" >
<!ELEMENT %input.qname; %input.content; >
<!-- end of input.element -->]]>
<!-- Basic Forms removes 'image' and 'file' input types.
-->
<!ENTITY % input.attlist "INCLUDE" >
<![%input.attlist;[
<!ENTITY % InputType.class
"( text | password | checkbox | radio
| submit | reset | hidden )"
>
<!-- attribute name required for all but submit & reset
-->
<!ATTLIST %input.qname;
%Common.attrib;
type %InputType.class; 'text'
name CDATA #IMPLIED
value CDATA #IMPLIED
checked ( checked ) #IMPLIED
size CDATA #IMPLIED
maxlength %Number.datatype; #IMPLIED
src %URI.datatype; #IMPLIED
tabindex %Number.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of input.attlist -->]]>
<!-- select: Option Selector ........................... -->
<!ENTITY % select.element "INCLUDE" >
<![%select.element;[
<!ENTITY % select.content "( %option.qname; )+" >
<!ELEMENT %select.qname; %select.content; >
<!-- end of select.element -->]]>
<!ENTITY % select.attlist "INCLUDE" >
<![%select.attlist;[
<!ATTLIST %select.qname;
%Common.attrib;
name CDATA #IMPLIED
size %Number.datatype; #IMPLIED
multiple ( multiple ) #IMPLIED
tabindex %Number.datatype; #IMPLIED
>
<!-- end of select.attlist -->]]>
<!-- option: Selectable Choice ......................... -->
<!ENTITY % option.element "INCLUDE" >
<![%option.element;[
<!ENTITY % option.content "( #PCDATA )" >
<!ELEMENT %option.qname; %option.content; >
<!-- end of option.element -->]]>
<!ENTITY % option.attlist "INCLUDE" >
<![%option.attlist;[
<!ATTLIST %option.qname;
%Common.attrib;
selected ( selected ) #IMPLIED
value CDATA #IMPLIED
>
<!-- end of option.attlist -->]]>
<!-- textarea: Multi-Line Text Field ................... -->
<!ENTITY % textarea.element "INCLUDE" >
<![%textarea.element;[
<!ENTITY % textarea.content "( #PCDATA )" >
<!ELEMENT %textarea.qname; %textarea.content; >
<!-- end of textarea.element -->]]>
<!ENTITY % textarea.attlist "INCLUDE" >
<![%textarea.attlist;[
<!ATTLIST %textarea.qname;
%Common.attrib;
name CDATA #IMPLIED
rows %Number.datatype; #REQUIRED
cols %Number.datatype; #REQUIRED
tabindex %Number.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of textarea.attlist -->]]>
<!-- end of xhtml-basic-form-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Forms Module .................................................. -->
<!-- file: xhtml-form-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-form-1.mod,v 4.1 2001/04/10 09:42:30 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Forms 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-form-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Forms
form, label, input, select, optgroup, option,
textarea, fieldset, legend, button
This module declares markup to provide support for online
forms, based on the features found in HTML 4 forms.
-->
<!-- declare qualified element type names:
-->
<!ENTITY % form.qname "form" >
<!ENTITY % label.qname "label" >
<!ENTITY % input.qname "input" >
<!ENTITY % select.qname "select" >
<!ENTITY % optgroup.qname "optgroup" >
<!ENTITY % option.qname "option" >
<!ENTITY % textarea.qname "textarea" >
<!ENTITY % fieldset.qname "fieldset" >
<!ENTITY % legend.qname "legend" >
<!ENTITY % button.qname "button" >
<!-- %BlkNoForm.mix; includes all non-form block elements,
plus %Misc.class;
-->
<!ENTITY % BlkNoForm.mix
"%Heading.class;
| %List.class;
| %BlkStruct.class;
%BlkPhras.class;
%BlkPres.class;
%Table.class;
%Block.extra;
%Misc.class;"
>
<!-- form: Form Element ................................ -->
<!ENTITY % form.element "INCLUDE" >
<![%form.element;[
<!ENTITY % form.content
"( %BlkNoForm.mix;
| %fieldset.qname; )+"
>
<!ELEMENT %form.qname; %form.content; >
<!-- end of form.element -->]]>
<!ENTITY % form.attlist "INCLUDE" >
<![%form.attlist;[
<!ATTLIST %form.qname;
%Common.attrib;
action %URI.datatype; #REQUIRED
method ( get | post ) 'get'
enctype %ContentType.datatype; 'application/x-www-form-urlencoded'
accept-charset %Charsets.datatype; #IMPLIED
accept %ContentTypes.datatype; #IMPLIED
>
<!-- end of form.attlist -->]]>
<!-- label: Form Field Label Text ...................... -->
<!-- Each label must not contain more than ONE field
-->
<!ENTITY % label.element "INCLUDE" >
<![%label.element;[
<!ENTITY % label.content
"( #PCDATA
| %input.qname; | %select.qname; | %textarea.qname; | %button.qname;
| %InlStruct.class;
%InlPhras.class;
%I18n.class;
%InlPres.class;
%Anchor.class;
%InlSpecial.class;
%Inline.extra;
%Misc.class; )*"
>
<!ELEMENT %label.qname; %label.content; >
<!-- end of label.element -->]]>
<!ENTITY % label.attlist "INCLUDE" >
<![%label.attlist;[
<!ATTLIST %label.qname;
%Common.attrib;
for IDREF #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of label.attlist -->]]>
<!-- input: Form Control ............................... -->
<!ENTITY % input.element "INCLUDE" >
<![%input.element;[
<!ENTITY % input.content "EMPTY" >
<!ELEMENT %input.qname; %input.content; >
<!-- end of input.element -->]]>
<!ENTITY % input.attlist "INCLUDE" >
<![%input.attlist;[
<!ENTITY % InputType.class
"( text | password | checkbox | radio | submit
| reset | file | hidden | image | button )"
>
<!-- attribute 'name' required for all but submit & reset
-->
<!ATTLIST %input.qname;
%Common.attrib;
type %InputType.class; 'text'
name CDATA #IMPLIED
value CDATA #IMPLIED
checked ( checked ) #IMPLIED
disabled ( disabled ) #IMPLIED
readonly ( readonly ) #IMPLIED
size %Number.datatype; #IMPLIED
maxlength %Number.datatype; #IMPLIED
src %URI.datatype; #IMPLIED
alt %Text.datatype; #IMPLIED
tabindex %Number.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
accept %ContentTypes.datatype; #IMPLIED
>
<!-- end of input.attlist -->]]>
<!-- select: Option Selector ........................... -->
<!ENTITY % select.element "INCLUDE" >
<![%select.element;[
<!ENTITY % select.content
"( %optgroup.qname; | %option.qname; )+"
>
<!ELEMENT %select.qname; %select.content; >
<!-- end of select.element -->]]>
<!ENTITY % select.attlist "INCLUDE" >
<![%select.attlist;[
<!ATTLIST %select.qname;
%Common.attrib;
name CDATA #IMPLIED
size %Number.datatype; #IMPLIED
multiple ( multiple ) #IMPLIED
disabled ( disabled ) #IMPLIED
tabindex %Number.datatype; #IMPLIED
>
<!-- end of select.attlist -->]]>
<!-- optgroup: Option Group ............................ -->
<!ENTITY % optgroup.element "INCLUDE" >
<![%optgroup.element;[
<!ENTITY % optgroup.content "( %option.qname; )+" >
<!ELEMENT %optgroup.qname; %optgroup.content; >
<!-- end of optgroup.element -->]]>
<!ENTITY % optgroup.attlist "INCLUDE" >
<![%optgroup.attlist;[
<!ATTLIST %optgroup.qname;
%Common.attrib;
disabled ( disabled ) #IMPLIED
label %Text.datatype; #REQUIRED
>
<!-- end of optgroup.attlist -->]]>
<!-- option: Selectable Choice ......................... -->
<!ENTITY % option.element "INCLUDE" >
<![%option.element;[
<!ENTITY % option.content "( #PCDATA )" >
<!ELEMENT %option.qname; %option.content; >
<!-- end of option.element -->]]>
<!ENTITY % option.attlist "INCLUDE" >
<![%option.attlist;[
<!ATTLIST %option.qname;
%Common.attrib;
selected ( selected ) #IMPLIED
disabled ( disabled ) #IMPLIED
label %Text.datatype; #IMPLIED
value CDATA #IMPLIED
>
<!-- end of option.attlist -->]]>
<!-- textarea: Multi-Line Text Field ................... -->
<!ENTITY % textarea.element "INCLUDE" >
<![%textarea.element;[
<!ENTITY % textarea.content "( #PCDATA )" >
<!ELEMENT %textarea.qname; %textarea.content; >
<!-- end of textarea.element -->]]>
<!ENTITY % textarea.attlist "INCLUDE" >
<![%textarea.attlist;[
<!ATTLIST %textarea.qname;
%Common.attrib;
name CDATA #IMPLIED
rows %Number.datatype; #REQUIRED
cols %Number.datatype; #REQUIRED
disabled ( disabled ) #IMPLIED
readonly ( readonly ) #IMPLIED
tabindex %Number.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of textarea.attlist -->]]>
<!-- fieldset: Form Control Group ...................... -->
<!-- #PCDATA is to solve the mixed content problem,
per specification only whitespace is allowed
-->
<!ENTITY % fieldset.element "INCLUDE" >
<![%fieldset.element;[
<!ENTITY % fieldset.content
"( #PCDATA | %legend.qname; | %Flow.mix; )*"
>
<!ELEMENT %fieldset.qname; %fieldset.content; >
<!-- end of fieldset.element -->]]>
<!ENTITY % fieldset.attlist "INCLUDE" >
<![%fieldset.attlist;[
<!ATTLIST %fieldset.qname;
%Common.attrib;
>
<!-- end of fieldset.attlist -->]]>
<!-- legend: Fieldset Legend ........................... -->
<!ENTITY % legend.element "INCLUDE" >
<![%legend.element;[
<!ENTITY % legend.content
"( #PCDATA | %Inline.mix; )*"
>
<!ELEMENT %legend.qname; %legend.content; >
<!-- end of legend.element -->]]>
<!ENTITY % legend.attlist "INCLUDE" >
<![%legend.attlist;[
<!ATTLIST %legend.qname;
%Common.attrib;
accesskey %Character.datatype; #IMPLIED
>
<!-- end of legend.attlist -->]]>
<!-- button: Push Button ............................... -->
<!ENTITY % button.element "INCLUDE" >
<![%button.element;[
<!ENTITY % button.content
"( #PCDATA
| %BlkNoForm.mix;
| %InlStruct.class;
%InlPhras.class;
%InlPres.class;
%I18n.class;
%InlSpecial.class;
%Inline.extra; )*"
>
<!ELEMENT %button.qname; %button.content; >
<!-- end of button.element -->]]>
<!ENTITY % button.attlist "INCLUDE" >
<![%button.attlist;[
<!ATTLIST %button.qname;
%Common.attrib;
name CDATA #IMPLIED
value CDATA #IMPLIED
type ( button | submit | reset ) 'submit'
disabled ( disabled ) #IMPLIED
tabindex %Number.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of button.attlist -->]]>
<!-- end of xhtml-form-1.mod -->
<!-- ....................................................................... -->
<!-- XHTML Basic Table Module ............................................. -->
<!-- file: xhtml-basic-table-1.mod
This is XHTML Basic, a proper subset of XHTML.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-basic-table-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-basic-table-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Basic Tables
table, caption, tr, th, td
This table module declares elements and attributes defining
a table model based fundamentally on features found in the
widely-deployed HTML 3.2 table model. While this module
mimics the content model and table attributes of HTML 3.2
tables, the element types declared herein also includes all
HTML 4 common and most of the HTML 4 table attributes.
-->
<!-- declare qualified element type names:
-->
<!ENTITY % table.qname "table" >
<!ENTITY % caption.qname "caption" >
<!ENTITY % tr.qname "tr" >
<!ENTITY % th.qname "th" >
<!ENTITY % td.qname "td" >
<!-- horizontal alignment attributes for cell contents
-->
<!ENTITY % CellHAlign.attrib
"align ( left
| center
| right ) #IMPLIED"
>
<!-- vertical alignment attributes for cell contents
-->
<!ENTITY % CellVAlign.attrib
"valign ( top
| middle
| bottom ) #IMPLIED"
>
<!-- scope is simpler than axes attribute for common tables
-->
<!ENTITY % scope.attrib
"scope ( row | col ) #IMPLIED"
>
<!-- table: Table Element .............................. -->
<!ENTITY % table.element "INCLUDE" >
<![%table.element;[
<!ENTITY % table.content
"( %caption.qname;?, %tr.qname;+ )"
>
<!ELEMENT %table.qname; %table.content; >
<!-- end of table.element -->]]>
<!ENTITY % table.attlist "INCLUDE" >
<![%table.attlist;[
<!ATTLIST %table.qname;
%Common.attrib;
summary %Text.datatype; #IMPLIED
>
<!-- end of table.attlist -->]]>
<!-- caption: Table Caption ............................ -->
<!ENTITY % caption.element "INCLUDE" >
<![%caption.element;[
<!ENTITY % caption.content
"( #PCDATA | %Inline.mix; )*"
>
<!ELEMENT %caption.qname; %caption.content; >
<!-- end of caption.element -->]]>
<!ENTITY % caption.attlist "INCLUDE" >
<![%caption.attlist;[
<!ATTLIST %caption.qname;
%Common.attrib;
>
<!-- end of caption.attlist -->]]>
<!-- tr: Table Row ..................................... -->
<!ENTITY % tr.element "INCLUDE" >
<![%tr.element;[
<!ENTITY % tr.content "( %th.qname; | %td.qname; )+" >
<!ELEMENT %tr.qname; %tr.content; >
<!-- end of tr.element -->]]>
<!ENTITY % tr.attlist "INCLUDE" >
<![%tr.attlist;[
<!ATTLIST %tr.qname;
%Common.attrib;
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of tr.attlist -->]]>
<!-- th: Table Header Cell ............................. -->
<!-- th is for header cells, td for data,
but for cells acting as both use td
-->
<!ENTITY % th.element "INCLUDE" >
<![%th.element;[
<!ENTITY % th.content
"( #PCDATA | %FlowNoTable.mix; )*"
>
<!ELEMENT %th.qname; %th.content; >
<!-- end of th.element -->]]>
<!ENTITY % th.attlist "INCLUDE" >
<![%th.attlist;[
<!ATTLIST %th.qname;
%Common.attrib;
abbr %Text.datatype; #IMPLIED
axis CDATA #IMPLIED
headers IDREFS #IMPLIED
%scope.attrib;
rowspan %Number.datatype; '1'
colspan %Number.datatype; '1'
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of th.attlist -->]]>
<!-- td: Table Data Cell ............................... -->
<!ENTITY % td.element "INCLUDE" >
<![%td.element;[
<!ENTITY % td.content
"( #PCDATA | %FlowNoTable.mix; )*"
>
<!ELEMENT %td.qname; %td.content; >
<!-- end of td.element -->]]>
<!ENTITY % td.attlist "INCLUDE" >
<![%td.attlist;[
<!ATTLIST %td.qname;
%Common.attrib;
abbr %Text.datatype; #IMPLIED
axis CDATA #IMPLIED
headers IDREFS #IMPLIED
%scope.attrib;
rowspan %Number.datatype; '1'
colspan %Number.datatype; '1'
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of td.attlist -->]]>
<!-- end of xhtml-basic-table-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Table Module .................................................. -->
<!-- file: xhtml-table-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-table-1.mod,v 4.1 2001/04/10 09:42:30 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Tables 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-table-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Tables
table, caption, thead, tfoot, tbody, colgroup, col, tr, th, td
This module declares element types and attributes used to provide
table markup similar to HTML 4, including features that enable
better accessibility for non-visual user agents.
-->
<!-- declare qualified element type names:
-->
<!ENTITY % table.qname "table" >
<!ENTITY % caption.qname "caption" >
<!ENTITY % thead.qname "thead" >
<!ENTITY % tfoot.qname "tfoot" >
<!ENTITY % tbody.qname "tbody" >
<!ENTITY % colgroup.qname "colgroup" >
<!ENTITY % col.qname "col" >
<!ENTITY % tr.qname "tr" >
<!ENTITY % th.qname "th" >
<!ENTITY % td.qname "td" >
<!-- The frame attribute specifies which parts of the frame around
the table should be rendered. The values are not the same as
CALS to avoid a name clash with the valign attribute.
-->
<!ENTITY % frame.attrib
"frame ( void
| above
| below
| hsides
| lhs
| rhs
| vsides
| box
| border ) #IMPLIED"
>
<!-- The rules attribute defines which rules to draw between cells:
If rules is absent then assume:
"none" if border is absent or border="0" otherwise "all"
-->
<!ENTITY % rules.attrib
"rules ( none
| groups
| rows
| cols
| all ) #IMPLIED"
>
<!-- horizontal alignment attributes for cell contents
-->
<!ENTITY % CellHAlign.attrib
"align ( left
| center
| right
| justify
| char ) #IMPLIED
char %Character.datatype; #IMPLIED
charoff %Length.datatype; #IMPLIED"
>
<!-- vertical alignment attribute for cell contents
-->
<!ENTITY % CellVAlign.attrib
"valign ( top
| middle
| bottom
| baseline ) #IMPLIED"
>
<!-- scope is simpler than axes attribute for common tables
-->
<!ENTITY % scope.attrib
"scope ( row
| col
| rowgroup
| colgroup ) #IMPLIED"
>
<!-- table: Table Element .............................. -->
<!ENTITY % table.element "INCLUDE" >
<![%table.element;[
<!ENTITY % table.content
"( %caption.qname;?, ( %col.qname;* | %colgroup.qname;* ),
(( %thead.qname;?, %tfoot.qname;?, %tbody.qname;+ ) | ( %tr.qname;+ )))"
>
<!ELEMENT %table.qname; %table.content; >
<!-- end of table.element -->]]>
<!ENTITY % table.attlist "INCLUDE" >
<![%table.attlist;[
<!ATTLIST %table.qname;
%Common.attrib;
summary %Text.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
border %Pixels.datatype; #IMPLIED
%frame.attrib;
%rules.attrib;
cellspacing %Length.datatype; #IMPLIED
cellpadding %Length.datatype; #IMPLIED
>
<!-- end of table.attlist -->]]>
<!-- caption: Table Caption ............................ -->
<!ENTITY % caption.element "INCLUDE" >
<![%caption.element;[
<!ENTITY % caption.content
"( #PCDATA | %Inline.mix; )*"
>
<!ELEMENT %caption.qname; %caption.content; >
<!-- end of caption.element -->]]>
<!ENTITY % caption.attlist "INCLUDE" >
<![%caption.attlist;[
<!ATTLIST %caption.qname;
%Common.attrib;
>
<!-- end of caption.attlist -->]]>
<!-- thead: Table Header ............................... -->
<!-- Use thead to duplicate headers when breaking table
across page boundaries, or for static headers when
tbody sections are rendered in scrolling panel.
-->
<!ENTITY % thead.element "INCLUDE" >
<![%thead.element;[
<!ENTITY % thead.content "( %tr.qname; )+" >
<!ELEMENT %thead.qname; %thead.content; >
<!-- end of thead.element -->]]>
<!ENTITY % thead.attlist "INCLUDE" >
<![%thead.attlist;[
<!ATTLIST %thead.qname;
%Common.attrib;
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of thead.attlist -->]]>
<!-- tfoot: Table Footer ............................... -->
<!-- Use tfoot to duplicate footers when breaking table
across page boundaries, or for static footers when
tbody sections are rendered in scrolling panel.
-->
<!ENTITY % tfoot.element "INCLUDE" >
<![%tfoot.element;[
<!ENTITY % tfoot.content "( %tr.qname; )+" >
<!ELEMENT %tfoot.qname; %tfoot.content; >
<!-- end of tfoot.element -->]]>
<!ENTITY % tfoot.attlist "INCLUDE" >
<![%tfoot.attlist;[
<!ATTLIST %tfoot.qname;
%Common.attrib;
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of tfoot.attlist -->]]>
<!-- tbody: Table Body ................................. -->
<!-- Use multiple tbody sections when rules are needed
between groups of table rows.
-->
<!ENTITY % tbody.element "INCLUDE" >
<![%tbody.element;[
<!ENTITY % tbody.content "( %tr.qname; )+" >
<!ELEMENT %tbody.qname; %tbody.content; >
<!-- end of tbody.element -->]]>
<!ENTITY % tbody.attlist "INCLUDE" >
<![%tbody.attlist;[
<!ATTLIST %tbody.qname;
%Common.attrib;
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of tbody.attlist -->]]>
<!-- colgroup: Table Column Group ...................... -->
<!-- colgroup groups a set of col elements. It allows you
to group several semantically-related columns together.
-->
<!ENTITY % colgroup.element "INCLUDE" >
<![%colgroup.element;[
<!ENTITY % colgroup.content "( %col.qname; )*" >
<!ELEMENT %colgroup.qname; %colgroup.content; >
<!-- end of colgroup.element -->]]>
<!ENTITY % colgroup.attlist "INCLUDE" >
<![%colgroup.attlist;[
<!ATTLIST %colgroup.qname;
%Common.attrib;
span %Number.datatype; '1'
width %MultiLength.datatype; #IMPLIED
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of colgroup.attlist -->]]>
<!-- col: Table Column ................................. -->
<!-- col elements define the alignment properties for
cells in one or more columns.
The width attribute specifies the width of the
columns, e.g.
width="64" width in screen pixels
width="0.5*" relative width of 0.5
The span attribute causes the attributes of one
col element to apply to more than one column.
-->
<!ENTITY % col.element "INCLUDE" >
<![%col.element;[
<!ENTITY % col.content "EMPTY" >
<!ELEMENT %col.qname; %col.content; >
<!-- end of col.element -->]]>
<!ENTITY % col.attlist "INCLUDE" >
<![%col.attlist;[
<!ATTLIST %col.qname;
%Common.attrib;
span %Number.datatype; '1'
width %MultiLength.datatype; #IMPLIED
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of col.attlist -->]]>
<!-- tr: Table Row ..................................... -->
<!ENTITY % tr.element "INCLUDE" >
<![%tr.element;[
<!ENTITY % tr.content "( %th.qname; | %td.qname; )+" >
<!ELEMENT %tr.qname; %tr.content; >
<!-- end of tr.element -->]]>
<!ENTITY % tr.attlist "INCLUDE" >
<![%tr.attlist;[
<!ATTLIST %tr.qname;
%Common.attrib;
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of tr.attlist -->]]>
<!-- th: Table Header Cell ............................. -->
<!-- th is for header cells, td for data,
but for cells acting as both use td
-->
<!ENTITY % th.element "INCLUDE" >
<![%th.element;[
<!ENTITY % th.content
"( #PCDATA | %Flow.mix; )*"
>
<!ELEMENT %th.qname; %th.content; >
<!-- end of th.element -->]]>
<!ENTITY % th.attlist "INCLUDE" >
<![%th.attlist;[
<!ATTLIST %th.qname;
%Common.attrib;
abbr %Text.datatype; #IMPLIED
axis CDATA #IMPLIED
headers IDREFS #IMPLIED
%scope.attrib;
rowspan %Number.datatype; '1'
colspan %Number.datatype; '1'
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of th.attlist -->]]>
<!-- td: Table Data Cell ............................... -->
<!ENTITY % td.element "INCLUDE" >
<![%td.element;[
<!ENTITY % td.content
"( #PCDATA | %Flow.mix; )*"
>
<!ELEMENT %td.qname; %td.content; >
<!-- end of td.element -->]]>
<!ENTITY % td.attlist "INCLUDE" >
<![%td.attlist;[
<!ATTLIST %td.qname;
%Common.attrib;
abbr %Text.datatype; #IMPLIED
axis CDATA #IMPLIED
headers IDREFS #IMPLIED
%scope.attrib;
rowspan %Number.datatype; '1'
colspan %Number.datatype; '1'
%CellHAlign.attrib;
%CellVAlign.attrib;
>
<!-- end of td.attlist -->]]>
<!-- end of xhtml-table-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Images Module ................................................. -->
<!-- file: xhtml-image-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Rovision: $Id: xhtml-image-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-image-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Images
img
This module provides markup to support basic image embedding.
-->
<!-- To avoid problems with text-only UAs as well as to make
image content understandable and navigable to users of
non-visual UAs, you need to provide a description with
the 'alt' attribute, and avoid server-side image maps.
-->
<!ENTITY % img.element "INCLUDE" >
<![%img.element;[
<!ENTITY % img.content "EMPTY" >
<!ENTITY % img.qname "img" >
<!ELEMENT %img.qname; %img.content; >
<!-- end of img.element -->]]>
<!ENTITY % img.attlist "INCLUDE" >
<![%img.attlist;[
<!ATTLIST %img.qname;
%Common.attrib;
src %URI.datatype; #REQUIRED
alt %Text.datatype; #REQUIRED
longdesc %URI.datatype; #IMPLIED
height %Length.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
>
<!-- end of img.attlist -->]]>
<!-- end of xhtml-image-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Client-side Image Map Module .................................. -->
<!-- file: xhtml-csismap-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-csismap-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-csismap-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Client-side Image Maps
area, map
This module declares elements and attributes to support client-side
image maps. This requires that the Image Module (or a module
declaring the img element type) be included in the DTD.
These can be placed in the same document or grouped in a
separate document, although the latter isn't widely supported
-->
<!ENTITY % area.element "INCLUDE" >
<![%area.element;[
<!ENTITY % area.content "EMPTY" >
<!ENTITY % area.qname "area" >
<!ELEMENT %area.qname; %area.content; >
<!-- end of area.element -->]]>
<!ENTITY % Shape.datatype "( rect | circle | poly | default )">
<!ENTITY % Coords.datatype "CDATA" >
<!ENTITY % area.attlist "INCLUDE" >
<![%area.attlist;[
<!ATTLIST %area.qname;
%Common.attrib;
href %URI.datatype; #IMPLIED
shape %Shape.datatype; 'rect'
coords %Coords.datatype; #IMPLIED
nohref ( nohref ) #IMPLIED
alt %Text.datatype; #REQUIRED
tabindex %Number.datatype; #IMPLIED
accesskey %Character.datatype; #IMPLIED
>
<!-- end of area.attlist -->]]>
<!-- modify anchor attribute definition list
to allow for client-side image maps
-->
<!ATTLIST %a.qname;
shape %Shape.datatype; 'rect'
coords %Coords.datatype; #IMPLIED
>
<!-- modify img attribute definition list
to allow for client-side image maps
-->
<!ATTLIST %img.qname;
usemap IDREF #IMPLIED
>
<!-- modify form input attribute definition list
to allow for client-side image maps
-->
<!ATTLIST %input.qname;
usemap IDREF #IMPLIED
>
<!-- modify object attribute definition list
to allow for client-side image maps
-->
<!ATTLIST %object.qname;
usemap IDREF #IMPLIED
>
<!-- 'usemap' points to the 'id' attribute of a <map> element,
which must be in the same document; support for external
document maps was not widely supported in HTML and is
eliminated in XHTML.
It is considered an error for the element pointed to by
a usemap IDREF to occur in anything but a <map> element.
-->
<!ENTITY % map.element "INCLUDE" >
<![%map.element;[
<!ENTITY % map.content
"(( %Block.mix; ) | %area.qname; )+"
>
<!ENTITY % map.qname "map" >
<!ELEMENT %map.qname; %map.content; >
<!-- end of map.element -->]]>
<!ENTITY % map.attlist "INCLUDE" >
<![%map.attlist;[
<!ATTLIST %map.qname;
%XHTML.xmlns.attrib;
id ID #REQUIRED
%class.attrib;
%title.attrib;
%Core.extra.attrib;
%I18n.attrib;
%Events.attrib;
>
<!-- end of map.attlist -->]]>
<!-- end of xhtml-csismap-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Server-side Image Map Module .................................. -->
<!-- file: xhtml-ssismap-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-ssismap-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Server-side Image Maps 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-ssismap-1.mod"
Revisions:
#2000-10-22: added declaration for 'ismap' on <input>
....................................................................... -->
<!-- Server-side Image Maps
This adds the 'ismap' attribute to the img and input elements
to support server-side processing of a user selection.
-->
<!ATTLIST %img.qname;
ismap ( ismap ) #IMPLIED
>
<!ATTLIST %input.qname;
ismap ( ismap ) #IMPLIED
>
<!-- end of xhtml-ssismap-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Embedded Object Module ........................................ -->
<!-- file: xhtml-object-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-object-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-object-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Embedded Objects
object
This module declares the object element type and its attributes, used
to embed external objects as part of XHTML pages. In the document,
place param elements prior to other content within the object element.
Note that use of this module requires instantiation of the Param
Element Module.
-->
<!-- object: Generic Embedded Object ................... -->
<!ENTITY % object.element "INCLUDE" >
<![%object.element;[
<!ENTITY % object.content
"( #PCDATA | %Flow.mix; | %param.qname; )*"
>
<!ENTITY % object.qname "object" >
<!ELEMENT %object.qname; %object.content; >
<!-- end of object.element -->]]>
<!ENTITY % object.attlist "INCLUDE" >
<![%object.attlist;[
<!ATTLIST %object.qname;
%Common.attrib;
declare ( declare ) #IMPLIED
classid %URI.datatype; #IMPLIED
codebase %URI.datatype; #IMPLIED
data %URI.datatype; #IMPLIED
type %ContentType.datatype; #IMPLIED
codetype %ContentType.datatype; #IMPLIED
archive %URIs.datatype; #IMPLIED
standby %Text.datatype; #IMPLIED
height %Length.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
name CDATA #IMPLIED
tabindex %Number.datatype; #IMPLIED
>
<!-- end of object.attlist -->]]>
<!-- end of xhtml-object-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Frames Module ................................................. -->
<!-- file: xhtml-frames-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-frames-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Frames 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-frames-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Frames
frameset, frame, noframes
This module declares frame-related element types and attributes.
-->
<!ENTITY % frameset.qname "frameset" >
<!ENTITY % frame.qname "frame" >
<!ENTITY % noframes.qname "noframes" >
<!-- comma-separated list of MultiLength -->
<!ENTITY % MultiLengths.datatype "CDATA" >
<!-- The content model for XHTML documents depends on whether
the <head> is followed by a <frameset> or <body> element.
-->
<!ENTITY % frameset.element "INCLUDE" >
<![%frameset.element;[
<!ENTITY % frameset.content
"(( %frameset.qname; | %frame.qname; )+, %noframes.qname;? )" >
<!ELEMENT %frameset.qname; %frameset.content; >
<!-- end of frameset.element -->]]>
<!ENTITY % frameset.attlist "INCLUDE" >
<![%frameset.attlist;[
<!ATTLIST %frameset.qname;
%Core.attrib;
rows %MultiLengths.datatype; #IMPLIED
cols %MultiLengths.datatype; #IMPLIED
>
<!-- end of frameset.attlist -->]]>
<![%xhtml-events.module;[
<!ATTLIST %frameset.qname;
onload %Script.datatype; #IMPLIED
onunload %Script.datatype; #IMPLIED
>
]]>
<!-- reserved frame names start with "_" otherwise starts with letter -->
<!ENTITY % frame.element "INCLUDE" >
<![%frame.element;[
<!ENTITY % frame.content "EMPTY" >
<!ELEMENT %frame.qname; %frame.content; >
<!-- end of frame.element -->]]>
<!ENTITY % frame.attlist "INCLUDE" >
<![%frame.attlist;[
<!ATTLIST %frame.qname;
%Core.attrib;
longdesc %URI.datatype; #IMPLIED
src %URI.datatype; #IMPLIED
frameborder ( 1 | 0 ) '1'
marginwidth %Pixels.datatype; #IMPLIED
marginheight %Pixels.datatype; #IMPLIED
noresize ( noresize ) #IMPLIED
scrolling ( yes | no | auto ) 'auto'
>
<!-- end of frame.attlist -->]]>
<!-- changes to other declarations .................... -->
<!-- redefine content model for html element,
substituting frameset for body -->
<!ENTITY % html.content
"( %head.qname;, %frameset.qname; )"
>
<!-- alternate content container for non frame-based rendering -->
<!ENTITY % noframes.element "INCLUDE" >
<![%noframes.element;[
<!ENTITY % noframes.content "( %body.qname; )">
<!ELEMENT %noframes.qname; %noframes.content; >
<!-- end of noframes.element -->]]>
<!ENTITY % noframes.attlist "INCLUDE" >
<![%noframes.attlist;[
<!ATTLIST %noframes.qname;
%Common.attrib;
>
<!-- end of noframes.attlist -->]]>
<!-- end of xhtml-frames-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Target Module ................................................. -->
<!-- file: xhtml-target-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-target-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-target-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Target
target
This module declares the 'target' attribute used for opening windows
-->
<!-- render in this frame -->
<!ENTITY % FrameTarget.datatype "CDATA" >
<!-- add 'target' attribute to 'a' element -->
<!ATTLIST %a.qname;
target %FrameTarget.datatype; #IMPLIED
>
<!-- add 'target' attribute to 'area' element -->
<!ATTLIST %area.qname;
target %FrameTarget.datatype; #IMPLIED
>
<!-- add 'target' attribute to 'link' element -->
<!ATTLIST %link.qname;
target %FrameTarget.datatype; #IMPLIED
>
<!-- add 'target' attribute to 'form' element -->
<!ATTLIST %form.qname;
target %FrameTarget.datatype; #IMPLIED
>
<!-- add 'target' attribute to 'base' element -->
<!ATTLIST %base.qname;
target %FrameTarget.datatype; #IMPLIED
>
<!-- end of xhtml-target-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML IFrame Module ................................................. -->
<!-- file: xhtml-iframe-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-iframe-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Inline Frame Element 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-iframe-1.mod"
Revisions:
#2000-10-22: added #PCDATA to <iframe> content model as per HTML 4
....................................................................... -->
<!-- Inline Frames
iframe
This module declares the iframe element type and its attributes,
used to create an inline frame within a document.
-->
<!-- Inline Frames .................................... -->
<!ENTITY % iframe.content "( #PCDATA | %Flow.mix; )*" >
<!ENTITY % iframe.qname "iframe" >
<!ELEMENT %iframe.qname; %iframe.content; >
<!ATTLIST %iframe.qname;
%Core.attrib;
longdesc %URI.datatype; #IMPLIED
src %URI.datatype; #IMPLIED
frameborder ( 1 | 0 ) '1'
marginwidth %Pixels.datatype; #IMPLIED
marginheight %Pixels.datatype; #IMPLIED
scrolling ( yes | no | auto ) 'auto'
height %Length.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
>
<!-- end of xhtml-iframe-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Intrinsic Events Module ....................................... -->
<!-- file: xhtml-events-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-events-1.mod,v 4.1 2001/04/10 09:42:30 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Intrinsic Events 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-events-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Intrinsic Event Attributes
These are the event attributes defined in HTML 4,
Section 18.2.3 "Intrinsic Events". This module must be
instantiated prior to the Attributes Module but after
the Datatype Module in the Modular Framework module.
"Note: Authors of HTML documents are advised that changes
are likely to occur in the realm of intrinsic events
(e.g., how scripts are bound to events). Research in
this realm is carried on by members of the W3C Document
Object Model Working Group (see the W3C Web site at
http://www.w3.org/ for more information)."
-->
<!-- NOTE: Because the ATTLIST declarations in this module occur
before their respective ELEMENT declarations in other
modules, there may be a dependency on this module that
should be considered if any of the parameter entities used
for element type names (eg., %a.qname;) are redeclared.
-->
<!ENTITY % Events.attrib
"onclick %Script.datatype; #IMPLIED
ondblclick %Script.datatype; #IMPLIED
onmousedown %Script.datatype; #IMPLIED
onmouseup %Script.datatype; #IMPLIED
onmouseover %Script.datatype; #IMPLIED
onmousemove %Script.datatype; #IMPLIED
onmouseout %Script.datatype; #IMPLIED
onkeypress %Script.datatype; #IMPLIED
onkeydown %Script.datatype; #IMPLIED
onkeyup %Script.datatype; #IMPLIED"
>
<!-- additional attributes on anchor element
-->
<!ATTLIST %a.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
>
<!-- additional attributes on form element
-->
<!ATTLIST %form.qname;
onsubmit %Script.datatype; #IMPLIED
onreset %Script.datatype; #IMPLIED
>
<!-- additional attributes on label element
-->
<!ATTLIST %label.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
>
<!-- additional attributes on input element
-->
<!ATTLIST %input.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
onselect %Script.datatype; #IMPLIED
onchange %Script.datatype; #IMPLIED
>
<!-- additional attributes on select element
-->
<!ATTLIST %select.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
onchange %Script.datatype; #IMPLIED
>
<!-- additional attributes on textarea element
-->
<!ATTLIST %textarea.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
onselect %Script.datatype; #IMPLIED
onchange %Script.datatype; #IMPLIED
>
<!-- additional attributes on button element
-->
<!ATTLIST %button.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
>
<!-- additional attributes on body element
-->
<!ATTLIST %body.qname;
onload %Script.datatype; #IMPLIED
onunload %Script.datatype; #IMPLIED
>
<!-- additional attributes on area element
-->
<!ATTLIST %area.qname;
onfocus %Script.datatype; #IMPLIED
onblur %Script.datatype; #IMPLIED
>
<!-- end of xhtml-events-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Document Metainformation Module ............................... -->
<!-- file: xhtml-meta-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-meta-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-meta-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Meta Information
meta
This module declares the meta element type and its attributes,
used to provide declarative document metainformation.
-->
<!-- meta: Generic Metainformation ..................... -->
<!ENTITY % meta.element "INCLUDE" >
<![%meta.element;[
<!ENTITY % meta.content "EMPTY" >
<!ENTITY % meta.qname "meta" >
<!ELEMENT %meta.qname; %meta.content; >
<!-- end of meta.element -->]]>
<!ENTITY % meta.attlist "INCLUDE" >
<![%meta.attlist;[
<!ATTLIST %meta.qname;
%XHTML.xmlns.attrib;
%I18n.attrib;
http-equiv NMTOKEN #IMPLIED
name NMTOKEN #IMPLIED
content CDATA #REQUIRED
scheme CDATA #IMPLIED
>
<!-- end of meta.attlist -->]]>
<!-- end of xhtml-meta-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Document Scripting Module ..................................... -->
<!-- file: xhtml-script-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-script-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Scripting 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-script-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Scripting
script, noscript
This module declares element types and attributes used to provide
support for executable scripts as well as an alternate content
container where scripts are not supported.
-->
<!-- script: Scripting Statement ....................... -->
<!ENTITY % script.element "INCLUDE" >
<![%script.element;[
<!ENTITY % script.content "( #PCDATA )" >
<!ENTITY % script.qname "script" >
<!ELEMENT %script.qname; %script.content; >
<!-- end of script.element -->]]>
<!ENTITY % script.attlist "INCLUDE" >
<![%script.attlist;[
<!ATTLIST %script.qname;
%XHTML.xmlns.attrib;
charset %Charset.datatype; #IMPLIED
type %ContentType.datatype; #REQUIRED
src %URI.datatype; #IMPLIED
defer ( defer ) #IMPLIED
xml:space ( preserve ) #FIXED 'preserve'
>
<!-- end of script.attlist -->]]>
<!-- noscript: No-Script Alternate Content ............. -->
<!ENTITY % noscript.element "INCLUDE" >
<![%noscript.element;[
<!ENTITY % noscript.content
"( %Block.mix; )+"
>
<!ENTITY % noscript.qname "noscript" >
<!ELEMENT %noscript.qname; %noscript.content; >
<!-- end of noscript.element -->]]>
<!ENTITY % noscript.attlist "INCLUDE" >
<![%noscript.attlist;[
<!ATTLIST %noscript.qname;
%Common.attrib;
>
<!-- end of noscript.attlist -->]]>
<!-- end of xhtml-script-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Document Style Sheet Module ................................... -->
<!-- file: xhtml-style-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-style-1.mod,v 4.1 2001/04/05 06:57:40 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//DTD XHTML Style Sheets 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-style-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Style Sheets
style
This module declares the style element type and its attributes,
used to embed style sheet information in the document head element.
-->
<!-- style: Style Sheet Information .................... -->
<!ENTITY % style.element "INCLUDE" >
<![%style.element;[
<!ENTITY % style.content "( #PCDATA )" >
<!ENTITY % style.qname "style" >
<!ELEMENT %style.qname; %style.content; >
<!-- end of style.element -->]]>
<!ENTITY % style.attlist "INCLUDE" >
<![%style.attlist;[
<!ATTLIST %style.qname;
%XHTML.xmlns.attrib;
%title.attrib;
%I18n.attrib;
type %ContentType.datatype; #REQUIRED
media %MediaDesc.datatype; #IMPLIED
xml:space ( preserve ) #FIXED 'preserve'
>
<!-- end of style.attlist -->]]>
<!-- end of xhtml-style-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Inline Style Module ........................................... -->
<!-- file: xhtml-inlstyle-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-inlstyle-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Inline Style 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-inlstyle-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Inline Style
This module declares the 'style' attribute, used to support inline
style markup. This module must be instantiated prior to the XHTML
Common Attributes module in order to be included in %Core.attrib;.
-->
<!ENTITY % style.attrib
"style CDATA #IMPLIED"
>
<!ENTITY % Core.extra.attrib
"%style.attrib;"
>
<!-- end of xhtml-inlstyle-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Link Element Module ........................................... -->
<!-- file: xhtml-link-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-link-1.mod,v 4.1 2001/04/05 06:57:40 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Link Element 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-link-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Link element
link
This module declares the link element type and its attributes,
which could (in principle) be used to define document-level links
to external resources such as:
a) for document specific toolbars/menus, e.g. start, contents,
previous, next, index, end, help
b) to link to a separate style sheet (rel="stylesheet")
c) to make a link to a script (rel="script")
d) by style sheets to control how collections of html nodes are
rendered into printed documents
e) to make a link to a printable version of this document
e.g. a postscript or pdf version (rel="alternate" media="print")
-->
<!-- link: Media-Independent Link ...................... -->
<!ENTITY % link.element "INCLUDE" >
<![%link.element;[
<!ENTITY % link.content "EMPTY" >
<!ENTITY % link.qname "link" >
<!ELEMENT %link.qname; %link.content; >
<!-- end of link.element -->]]>
<!ENTITY % link.attlist "INCLUDE" >
<![%link.attlist;[
<!ATTLIST %link.qname;
%Common.attrib;
charset %Charset.datatype; #IMPLIED
href %URI.datatype; #IMPLIED
hreflang %LanguageCode.datatype; #IMPLIED
type %ContentType.datatype; #IMPLIED
rel %LinkTypes.datatype; #IMPLIED
rev %LinkTypes.datatype; #IMPLIED
media %MediaDesc.datatype; #IMPLIED
>
<!-- end of link.attlist -->]]>
<!-- end of xhtml-link-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Base Element Module ........................................... -->
<!-- file: xhtml-base-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-base-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-base-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Base element
base
This module declares the base element type and its attributes,
used to define a base URI against which relative URIs in the
document will be resolved.
Note that this module also redeclares the content model for
the head element to include the base element.
-->
<!-- base: Document Base URI ........................... -->
<!ENTITY % base.element "INCLUDE" >
<![%base.element;[
<!ENTITY % base.content "EMPTY" >
<!ENTITY % base.qname "base" >
<!ELEMENT %base.qname; %base.content; >
<!-- end of base.element -->]]>
<!ENTITY % base.attlist "INCLUDE" >
<![%base.attlist;[
<!ATTLIST %base.qname;
%XHTML.xmlns.attrib;
href %URI.datatype; #REQUIRED
>
<!-- end of base.attlist -->]]>
<!ENTITY % head.content
"( %HeadOpts.mix;,
( ( %title.qname;, %HeadOpts.mix;, ( %base.qname;, %HeadOpts.mix; )? )
| ( %base.qname;, %HeadOpts.mix;, ( %title.qname;, %HeadOpts.mix; ))))"
>
<!-- end of xhtml-base-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Name Identifier Module ........................................ -->
<!-- file: xhtml-nameident-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-nameident-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Name Identifier 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-nameident-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Name Identifier
'name' attribute on form, img, a, map, applet, frame, iframe
This module declares the 'name' attribute on element types when
it is used as a node identifier for legacy linking and scripting
support. This does not include those instances when 'name' is used
as a container for form control, property or metainformation names.
This module should be instantiated following all modules it modifies.
-->
<!ENTITY % form.attlist "IGNORE" >
<![%form.attlist;[
<!ATTLIST %form.qname;
name CDATA #IMPLIED
>
<!-- end of form.attlist -->]]>
<!ENTITY % img.attlist "IGNORE" >
<![%img.attlist;[
<!ATTLIST %img.qname;
name CDATA #IMPLIED
>
<!-- end of img.attlist -->]]>
<!ENTITY % a.attlist "IGNORE" >
<![%a.attlist;[
<!ATTLIST %a.qname;
name CDATA #IMPLIED
>
<!-- end of a.attlist -->]]>
<!ENTITY % map.attlist "IGNORE" >
<![%map.attlist;[
<!ATTLIST %map.qname;
name CDATA #IMPLIED
>
<!-- end of map.attlist -->]]>
<!ENTITY % applet.attlist "IGNORE" >
<![%applet.attlist;[
<!ATTLIST %applet.qname;
name CDATA #IMPLIED
>
<!-- end of applet.attlist -->]]>
<!ENTITY % frame.attlist "IGNORE" >
<![%frame.attlist;[
<!ATTLIST %frame.qname;
name CDATA #IMPLIED
>
<!-- end of frame.attlist -->]]>
<!ENTITY % iframe.attlist "IGNORE" >
<![%iframe.attlist;[
<!ATTLIST %iframe.qname;
name CDATA #IMPLIED
>
<!-- end of iframe.attlist -->]]>
<!-- end of xhtml-nameident.mod -->
<!-- ...................................................................... -->
<!-- XHTML Legacy Markup Module ........................................... -->
<!-- file: xhtml-legacy-1.mod
This is an extension of XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-legacy-1.mod,v 4.1 2001/04/10 09:42:30 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-legacy-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- HTML Legacy Markup
font, basefont, center, s, strike, u, dir, menu, isindex
(plus additional datatypes and attributes)
This optional module declares additional markup for simple
presentation-related markup based on features found in the
HTML 4 Transitional and Frameset DTDs. This relies on
inclusion of the Legacy Redeclarations module. This module
also declares the frames, inline frames and object modules.
This is to allow XHTML 1.1 documents to be transformed for
display on HTML browsers where CSS support is inconsistent
or unavailable.
-->
<!-- Constructing a Legacy DTD
To construct a DTD driver obtaining a close approximation
of the HTML 4 Transitional and Frameset DTDs, declare the
Legacy Redeclarations module as the pre-framework redeclaration
parameter entity (%xhtml-prefw-redecl.mod;) and INCLUDE its
conditional section:
...
<!ENTITY % xhtml-prefw-redecl.module "INCLUDE" >
<![%xhtml-prefw-redecl.module;[
<!ENTITY % xhtml-prefw-redecl.mod
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Redeclarations 1.0//EN"
"xhtml-legacy-redecl-1.mod" >
%xhtml-prefw-redecl.mod;]]>
Such a DTD should be named with a variant FPI and redeclare
the value of the %XHTML.version; parameter entity to that FPI:
"-//Your Name Here//DTD XHTML Legacy 1.1//EN"
IMPORTANT: see also the notes included in the Legacy Redeclarations
Module for information on how to construct a DTD using this module.
-->
<!-- Additional Element Types .................................... -->
<!-- font: Local Font Modifier ........................ -->
<!ENTITY % font.element "INCLUDE" >
<![%font.element;[
<!ENTITY % font.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % font.qname "font" >
<!ELEMENT %font.qname; %font.content; >
<!-- end of font.element -->]]>
<!ENTITY % font.attlist "INCLUDE" >
<![%font.attlist;[
<!ATTLIST %font.qname;
%Core.attrib;
%I18n.attrib;
size CDATA #IMPLIED
color %Color.datatype; #IMPLIED
face CDATA #IMPLIED
>
<!-- end of font.attlist -->]]>
<!-- basefont: Base Font Size ......................... -->
<!ENTITY % basefont.element "INCLUDE" >
<![%basefont.element;[
<!ENTITY % basefont.content "EMPTY" >
<!ENTITY % basefont.qname "basefont" >
<!ELEMENT %basefont.qname; %basefont.content; >
<!-- end of basefont.element -->]]>
<!ENTITY % basefont.attlist "INCLUDE" >
<![%basefont.attlist;[
<!ATTLIST %basefont.qname;
%id.attrib;
size CDATA #REQUIRED
color %Color.datatype; #IMPLIED
face CDATA #IMPLIED
>
<!-- end of basefont.attlist -->]]>
<!-- center: Center Alignment ......................... -->
<!ENTITY % center.element "INCLUDE" >
<![%center.element;[
<!ENTITY % center.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % center.qname "center" >
<!ELEMENT %center.qname; %center.content; >
<!-- end of center.element -->]]>
<!ENTITY % center.attlist "INCLUDE" >
<![%center.attlist;[
<!ATTLIST %center.qname;
%Common.attrib;
>
<!-- end of center.attlist -->]]>
<!-- s: Strike-Thru Text Style ........................ -->
<!ENTITY % s.element "INCLUDE" >
<![%s.element;[
<!ENTITY % s.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % s.qname "s" >
<!ELEMENT %s.qname; %s.content; >
<!-- end of s.element -->]]>
<!ENTITY % s.attlist "INCLUDE" >
<![%s.attlist;[
<!ATTLIST %s.qname;
%Common.attrib;
>
<!-- end of s.attlist -->]]>
<!-- strike: Strike-Thru Text Style ....................-->
<!ENTITY % strike.element "INCLUDE" >
<![%strike.element;[
<!ENTITY % strike.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % strike.qname "strike" >
<!ELEMENT %strike.qname; %strike.content; >
<!-- end of strike.element -->]]>
<!ENTITY % strike.attlist "INCLUDE" >
<![%strike.attlist;[
<!ATTLIST %strike.qname;
%Common.attrib;
>
<!-- end of strike.attlist -->]]>
<!-- u: Underline Text Style ...........................-->
<!ENTITY % u.element "INCLUDE" >
<![%u.element;[
<!ENTITY % u.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % u.qname "u" >
<!ELEMENT %u.qname; %u.content; >
<!-- end of u.element -->]]>
<!ENTITY % u.attlist "INCLUDE" >
<![%u.attlist;[
<!ATTLIST %u.qname;
%Common.attrib;
>
<!-- end of u.attlist -->]]>
<!-- dir: Directory List .............................. -->
<!-- NOTE: the content model for <dir> in HTML 4 excluded %Block.mix;
-->
<!ENTITY % dir.element "INCLUDE" >
<![%dir.element;[
<!ENTITY % dir.content
"( %li.qname; )+"
>
<!ENTITY % dir.qname "dir" >
<!ELEMENT %dir.qname; %dir.content; >
<!-- end of dir.element -->]]>
<!ENTITY % dir.attlist "INCLUDE" >
<![%dir.attlist;[
<!ATTLIST %dir.qname;
%Common.attrib;
compact ( compact ) #IMPLIED
>
<!-- end of dir.attlist -->]]>
<!-- menu: Menu List .................................. -->
<!-- NOTE: the content model for <menu> in HTML 4 excluded %Block.mix;
-->
<!ENTITY % menu.element "INCLUDE" >
<![%menu.element;[
<!ENTITY % menu.content
"( %li.qname; )+"
>
<!ENTITY % menu.qname "menu" >
<!ELEMENT %menu.qname; %menu.content; >
<!-- end of menu.element -->]]>
<!ENTITY % menu.attlist "INCLUDE" >
<![%menu.attlist;[
<!ATTLIST %menu.qname;
%Common.attrib;
compact ( compact ) #IMPLIED
>
<!-- end of menu.attlist -->]]>
<!-- isindex: Single-Line Prompt ...................... -->
<!ENTITY % isindex.element "INCLUDE" >
<![%isindex.element;[
<!ENTITY % isindex.content "EMPTY" >
<!ENTITY % isindex.qname "isindex" >
<!ELEMENT %isindex.qname; %isindex.content; >
<!-- end of isindex.element -->]]>
<!ENTITY % isindex.attlist "INCLUDE" >
<![%isindex.attlist;[
<!ATTLIST %isindex.qname;
%Core.attrib;
%I18n.attrib;
prompt %Text.datatype; #IMPLIED
>
<!-- end of isindex.attlist -->]]>
<!-- Additional Attributes ....................................... -->
<!-- Alignment attribute for Transitional use in HTML browsers
(this functionality is generally well-supported in CSS,
except within some contexts)
-->
<!ENTITY % align.attrib
"align ( left | center | right | justify ) #IMPLIED"
>
<!ATTLIST %applet.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
hspace %Pixels.datatype; #IMPLIED
vspace %Pixels.datatype; #IMPLIED
>
<!ATTLIST %body.qname;
background %URI.datatype; #IMPLIED
bgcolor %Color.datatype; #IMPLIED
text %Color.datatype; #IMPLIED
link %Color.datatype; #IMPLIED
vlink %Color.datatype; #IMPLIED
alink %Color.datatype; #IMPLIED
>
<!ATTLIST %br.qname;
clear ( left | all | right | none ) 'none'
>
<!ATTLIST %caption.qname;
align ( top | bottom | left | right ) #IMPLIED
>
<!ATTLIST %div.qname;
%align.attrib;
>
<!ATTLIST %h1.qname;
%align.attrib;
>
<!ATTLIST %h2.qname;
%align.attrib;
>
<!ATTLIST %h3.qname;
%align.attrib;
>
<!ATTLIST %h4.qname;
%align.attrib;
>
<!ATTLIST %h5.qname;
%align.attrib;
>
<!ATTLIST %h6.qname;
%align.attrib;
>
<!ATTLIST %hr.qname;
align ( left | center | right ) #IMPLIED
noshade ( noshade ) #IMPLIED
size %Pixels.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
>
<!ATTLIST %img.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
border %Pixels.datatype; #IMPLIED
hspace %Pixels.datatype; #IMPLIED
vspace %Pixels.datatype; #IMPLIED
>
<!ATTLIST %input.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
>
<!ATTLIST %legend.qname;
align ( top | bottom | left | right ) #IMPLIED
>
<!ATTLIST %li.qname;
type CDATA #IMPLIED
value %Number.datatype; #IMPLIED
>
<!ATTLIST %object.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
border %Pixels.datatype; #IMPLIED
hspace %Pixels.datatype; #IMPLIED
vspace %Pixels.datatype; #IMPLIED
>
<!ATTLIST %dl.qname;
compact ( compact ) #IMPLIED
>
<!ATTLIST %ol.qname;
type CDATA #IMPLIED
compact ( compact ) #IMPLIED
start %Number.datatype; #IMPLIED
>
<!ATTLIST %p.qname;
%align.attrib;
>
<!ATTLIST %pre.qname;
width %Length.datatype; #IMPLIED
>
<!ATTLIST %script.qname;
language %ContentType.datatype; #IMPLIED
>
<!ATTLIST %table.qname;
align ( left | center | right ) #IMPLIED
bgcolor %Color.datatype; #IMPLIED
>
<!ATTLIST %tr.qname;
bgcolor %Color.datatype; #IMPLIED
>
<!ATTLIST %th.qname;
nowrap ( nowrap ) #IMPLIED
bgcolor %Color.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
height %Length.datatype; #IMPLIED
>
<!ATTLIST %td.qname;
nowrap ( nowrap ) #IMPLIED
bgcolor %Color.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
height %Length.datatype; #IMPLIED
>
<!ATTLIST %ul.qname;
type CDATA #IMPLIED
compact ( compact ) #IMPLIED
>
<!-- Frames Module ............................................... -->
<!ENTITY % xhtml-frames.module "IGNORE" >
<![%xhtml-frames.module;[
<!ENTITY % xhtml-frames.mod
PUBLIC "-//W3C//ELEMENTS XHTML Frames 1.0//EN"
"xhtml-frames-1.mod" >
%xhtml-frames.mod;]]>
<!-- Inline Frames Module ........................................ -->
<!ENTITY % xhtml-iframe.module "INCLUDE" >
<![%xhtml-iframe.module;[
<!ATTLIST %iframe.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
>
<!ENTITY % xhtml-iframe.mod
PUBLIC "-//W3C//ELEMENTS XHTML Inline Frame Element 1.0//EN"
"xhtml-iframe-1.mod" >
%xhtml-iframe.mod;]]>
<!-- end of xhtml-legacy-1.mod -->
Die Module in diesem Abschnitt sind Teil der DTD-Implementierung von XHTML. Während sie vor Gelegenheitsanwendern versteckt sind, ist ihr Verständnis wichtig für die Herstellung abgeleiteter Auszeichnungssprachen unter Verwendung der Modularisierungsarchitektur.
<!-- ...................................................................... -->
<!-- XHTML Block Phrasal Module .......................................... -->
<!-- file: xhtml-blkphras-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-blkphras-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Block Phrasal 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkphras-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Block Phrasal
address, blockquote, pre, h1, h2, h3, h4, h5, h6
This module declares the elements and their attributes used to
support block-level phrasal markup.
-->
<!ENTITY % address.element "INCLUDE" >
<![%address.element;[
<!ENTITY % address.content
"( #PCDATA | %Inline.mix; )*" >
<!ENTITY % address.qname "address" >
<!ELEMENT %address.qname; %address.content; >
<!-- end of address.element -->]]>
<!ENTITY % address.attlist "INCLUDE" >
<![%address.attlist;[
<!ATTLIST %address.qname;
%Common.attrib;
>
<!-- end of address.attlist -->]]>
<!ENTITY % blockquote.element "INCLUDE" >
<![%blockquote.element;[
<!ENTITY % blockquote.content
"( %Block.mix; )+"
>
<!ENTITY % blockquote.qname "blockquote" >
<!ELEMENT %blockquote.qname; %blockquote.content; >
<!-- end of blockquote.element -->]]>
<!ENTITY % blockquote.attlist "INCLUDE" >
<![%blockquote.attlist;[
<!ATTLIST %blockquote.qname;
%Common.attrib;
cite %URI.datatype; #IMPLIED
>
<!-- end of blockquote.attlist -->]]>
<!ENTITY % pre.element "INCLUDE" >
<![%pre.element;[
<!ENTITY % pre.content
"( #PCDATA
| %InlStruct.class;
%InlPhras.class;
| %tt.qname; | %i.qname; | %b.qname;
%I18n.class;
%Anchor.class;
| %script.qname; | %map.qname;
%Inline.extra; )*"
>
<!ENTITY % pre.qname "pre" >
<!ELEMENT %pre.qname; %pre.content; >
<!-- end of pre.element -->]]>
<!ENTITY % pre.attlist "INCLUDE" >
<![%pre.attlist;[
<!ATTLIST %pre.qname;
%Common.attrib;
xml:space ( preserve ) #FIXED 'preserve'
>
<!-- end of pre.attlist -->]]>
<!-- ................... Heading Elements ................... -->
<!ENTITY % Heading.content "( #PCDATA | %Inline.mix; )*" >
<!ENTITY % h1.element "INCLUDE" >
<![%h1.element;[
<!ENTITY % h1.qname "h1" >
<!ELEMENT %h1.qname; %Heading.content; >
<!-- end of h1.element -->]]>
<!ENTITY % h1.attlist "INCLUDE" >
<![%h1.attlist;[
<!ATTLIST %h1.qname;
%Common.attrib;
>
<!-- end of h1.attlist -->]]>
<!ENTITY % h2.element "INCLUDE" >
<![%h2.element;[
<!ENTITY % h2.qname "h2" >
<!ELEMENT %h2.qname; %Heading.content; >
<!-- end of h2.element -->]]>
<!ENTITY % h2.attlist "INCLUDE" >
<![%h2.attlist;[
<!ATTLIST %h2.qname;
%Common.attrib;
>
<!-- end of h2.attlist -->]]>
<!ENTITY % h3.element "INCLUDE" >
<![%h3.element;[
<!ENTITY % h3.qname "h3" >
<!ELEMENT %h3.qname; %Heading.content; >
<!-- end of h3.element -->]]>
<!ENTITY % h3.attlist "INCLUDE" >
<![%h3.attlist;[
<!ATTLIST %h3.qname;
%Common.attrib;
>
<!-- end of h3.attlist -->]]>
<!ENTITY % h4.element "INCLUDE" >
<![%h4.element;[
<!ENTITY % h4.qname "h4" >
<!ELEMENT %h4.qname; %Heading.content; >
<!-- end of h4.element -->]]>
<!ENTITY % h4.attlist "INCLUDE" >
<![%h4.attlist;[
<!ATTLIST %h4.qname;
%Common.attrib;
>
<!-- end of h4.attlist -->]]>
<!ENTITY % h5.element "INCLUDE" >
<![%h5.element;[
<!ENTITY % h5.qname "h5" >
<!ELEMENT %h5.qname; %Heading.content; >
<!-- end of h5.element -->]]>
<!ENTITY % h5.attlist "INCLUDE" >
<![%h5.attlist;[
<!ATTLIST %h5.qname;
%Common.attrib;
>
<!-- end of h5.attlist -->]]>
<!ENTITY % h6.element "INCLUDE" >
<![%h6.element;[
<!ENTITY % h6.qname "h6" >
<!ELEMENT %h6.qname; %Heading.content; >
<!-- end of h6.element -->]]>
<!ENTITY % h6.attlist "INCLUDE" >
<![%h6.attlist;[
<!ATTLIST %h6.qname;
%Common.attrib;
>
<!-- end of h6.attlist -->]]>
<!-- end of xhtml-blkphras-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Block Presentation Module ..................................... -->
<!-- file: xhtml-blkpres-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-blkpres-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Block Presentation 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkpres-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Block Presentational Elements
hr
This module declares the elements and their attributes used to
support block-level presentational markup.
-->
<!ENTITY % hr.element "INCLUDE" >
<![%hr.element;[
<!ENTITY % hr.content "EMPTY" >
<!ENTITY % hr.qname "hr" >
<!ELEMENT %hr.qname; %hr.content; >
<!-- end of hr.element -->]]>
<!ENTITY % hr.attlist "INCLUDE" >
<![%hr.attlist;[
<!ATTLIST %hr.qname;
%Common.attrib;
>
<!-- end of hr.attlist -->]]>
<!-- end of xhtml-blkpres-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Block Structural Module ....................................... -->
<!-- file: xhtml-blkstruct-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-blkstruct-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Block Structural 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkstruct-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Block Structural
div, p
This module declares the elements and their attributes used to
support block-level structural markup.
-->
<!ENTITY % div.element "INCLUDE" >
<![%div.element;[
<!ENTITY % div.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % div.qname "div" >
<!ELEMENT %div.qname; %div.content; >
<!-- end of div.element -->]]>
<!ENTITY % div.attlist "INCLUDE" >
<![%div.attlist;[
<!ATTLIST %div.qname;
%Common.attrib;
>
<!-- end of div.attlist -->]]>
<!ENTITY % p.element "INCLUDE" >
<![%p.element;[
<!ENTITY % p.content
"( #PCDATA | %Inline.mix; )*" >
<!ENTITY % p.qname "p" >
<!ELEMENT %p.qname; %p.content; >
<!-- end of p.element -->]]>
<!ENTITY % p.attlist "INCLUDE" >
<![%p.attlist;[
<!ATTLIST %p.qname;
%Common.attrib;
>
<!-- end of p.attlist -->]]>
<!-- end of xhtml-blkstruct-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Inline Phrasal Module ......................................... -->
<!-- file: xhtml-inlphras-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-inlphras-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Inline Phrasal 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-inlphras-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Inline Phrasal
abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
This module declares the elements and their attributes used to
support inline-level phrasal markup.
-->
<!ENTITY % abbr.element "INCLUDE" >
<![%abbr.element;[
<!ENTITY % abbr.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % abbr.qname "abbr" >
<!ELEMENT %abbr.qname; %abbr.content; >
<!-- end of abbr.element -->]]>
<!ENTITY % abbr.attlist "INCLUDE" >
<![%abbr.attlist;[
<!ATTLIST %abbr.qname;
%Common.attrib;
>
<!-- end of abbr.attlist -->]]>
<!ENTITY % acronym.element "INCLUDE" >
<![%acronym.element;[
<!ENTITY % acronym.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % acronym.qname "acronym" >
<!ELEMENT %acronym.qname; %acronym.content; >
<!-- end of acronym.element -->]]>
<!ENTITY % acronym.attlist "INCLUDE" >
<![%acronym.attlist;[
<!ATTLIST %acronym.qname;
%Common.attrib;
>
<!-- end of acronym.attlist -->]]>
<!ENTITY % cite.element "INCLUDE" >
<![%cite.element;[
<!ENTITY % cite.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % cite.qname "cite" >
<!ELEMENT %cite.qname; %cite.content; >
<!-- end of cite.element -->]]>
<!ENTITY % cite.attlist "INCLUDE" >
<![%cite.attlist;[
<!ATTLIST %cite.qname;
%Common.attrib;
>
<!-- end of cite.attlist -->]]>
<!ENTITY % code.element "INCLUDE" >
<![%code.element;[
<!ENTITY % code.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % code.qname "code" >
<!ELEMENT %code.qname; %code.content; >
<!-- end of code.element -->]]>
<!ENTITY % code.attlist "INCLUDE" >
<![%code.attlist;[
<!ATTLIST %code.qname;
%Common.attrib;
>
<!-- end of code.attlist -->]]>
<!ENTITY % dfn.element "INCLUDE" >
<![%dfn.element;[
<!ENTITY % dfn.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % dfn.qname "dfn" >
<!ELEMENT %dfn.qname; %dfn.content; >
<!-- end of dfn.element -->]]>
<!ENTITY % dfn.attlist "INCLUDE" >
<![%dfn.attlist;[
<!ATTLIST %dfn.qname;
%Common.attrib;
>
<!-- end of dfn.attlist -->]]>
<!ENTITY % em.element "INCLUDE" >
<![%em.element;[
<!ENTITY % em.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % em.qname "em" >
<!ELEMENT %em.qname; %em.content; >
<!-- end of em.element -->]]>
<!ENTITY % em.attlist "INCLUDE" >
<![%em.attlist;[
<!ATTLIST %em.qname;
%Common.attrib;
>
<!-- end of em.attlist -->]]>
<!ENTITY % kbd.element "INCLUDE" >
<![%kbd.element;[
<!ENTITY % kbd.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % kbd.qname "kbd" >
<!ELEMENT %kbd.qname; %kbd.content; >
<!-- end of kbd.element -->]]>
<!ENTITY % kbd.attlist "INCLUDE" >
<![%kbd.attlist;[
<!ATTLIST %kbd.qname;
%Common.attrib;
>
<!-- end of kbd.attlist -->]]>
<!ENTITY % q.element "INCLUDE" >
<![%q.element;[
<!ENTITY % q.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % q.qname "q" >
<!ELEMENT %q.qname; %q.content; >
<!-- end of q.element -->]]>
<!ENTITY % q.attlist "INCLUDE" >
<![%q.attlist;[
<!ATTLIST %q.qname;
%Common.attrib;
cite %URI.datatype; #IMPLIED
>
<!-- end of q.attlist -->]]>
<!ENTITY % samp.element "INCLUDE" >
<![%samp.element;[
<!ENTITY % samp.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % samp.qname "samp" >
<!ELEMENT %samp.qname; %samp.content; >
<!-- end of samp.element -->]]>
<!ENTITY % samp.attlist "INCLUDE" >
<![%samp.attlist;[
<!ATTLIST %samp.qname;
%Common.attrib;
>
<!-- end of samp.attlist -->]]>
<!ENTITY % strong.element "INCLUDE" >
<![%strong.element;[
<!ENTITY % strong.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % strong.qname "strong" >
<!ELEMENT %strong.qname; %strong.content; >
<!-- end of strong.element -->]]>
<!ENTITY % strong.attlist "INCLUDE" >
<![%strong.attlist;[
<!ATTLIST %strong.qname;
%Common.attrib;
>
<!-- end of strong.attlist -->]]>
<!ENTITY % var.element "INCLUDE" >
<![%var.element;[
<!ENTITY % var.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % var.qname "var" >
<!ELEMENT %var.qname; %var.content; >
<!-- end of var.element -->]]>
<!ENTITY % var.attlist "INCLUDE" >
<![%var.attlist;[
<!ATTLIST %var.qname;
%Common.attrib;
>
<!-- end of var.attlist -->]]>
<!-- end of xhtml-inlphras-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Inline Presentation Module .................................... -->
<!-- file: xhtml-inlpres-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-inlpres-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Inline Presentation 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-inlpres-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Inline Presentational Elements
b, big, i, small, sub, sup, tt
This module declares the elements and their attributes used to
support inline-level presentational markup.
-->
<!ENTITY % b.element "INCLUDE" >
<![%b.element;[
<!ENTITY % b.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % b.qname "b" >
<!ELEMENT %b.qname; %b.content; >
<!-- end of b.element -->]]>
<!ENTITY % b.attlist "INCLUDE" >
<![%b.attlist;[
<!ATTLIST %b.qname;
%Common.attrib;
>
<!-- end of b.attlist -->]]>
<!ENTITY % big.element "INCLUDE" >
<![%big.element;[
<!ENTITY % big.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % big.qname "big" >
<!ELEMENT %big.qname; %big.content; >
<!-- end of big.element -->]]>
<!ENTITY % big.attlist "INCLUDE" >
<![%big.attlist;[
<!ATTLIST %big.qname;
%Common.attrib;
>
<!-- end of big.attlist -->]]>
<!ENTITY % i.element "INCLUDE" >
<![%i.element;[
<!ENTITY % i.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % i.qname "i" >
<!ELEMENT %i.qname; %i.content; >
<!-- end of i.element -->]]>
<!ENTITY % i.attlist "INCLUDE" >
<![%i.attlist;[
<!ATTLIST %i.qname;
%Common.attrib;
>
<!-- end of i.attlist -->]]>
<!ENTITY % small.element "INCLUDE" >
<![%small.element;[
<!ENTITY % small.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % small.qname "small" >
<!ELEMENT %small.qname; %small.content; >
<!-- end of small.element -->]]>
<!ENTITY % small.attlist "INCLUDE" >
<![%small.attlist;[
<!ATTLIST %small.qname;
%Common.attrib;
>
<!-- end of small.attlist -->]]>
<!ENTITY % sub.element "INCLUDE" >
<![%sub.element;[
<!ENTITY % sub.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % sub.qname "sub" >
<!ELEMENT %sub.qname; %sub.content; >
<!-- end of sub.element -->]]>
<!ENTITY % sub.attlist "INCLUDE" >
<![%sub.attlist;[
<!ATTLIST %sub.qname;
%Common.attrib;
>
<!-- end of sub.attlist -->]]>
<!ENTITY % sup.element "INCLUDE" >
<![%sup.element;[
<!ENTITY % sup.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % sup.qname "sup" >
<!ELEMENT %sup.qname; %sup.content; >
<!-- end of sup.element -->]]>
<!ENTITY % sup.attlist "INCLUDE" >
<![%sup.attlist;[
<!ATTLIST %sup.qname;
%Common.attrib;
>
<!-- end of sup.attlist -->]]>
<!ENTITY % tt.element "INCLUDE" >
<![%tt.element;[
<!ENTITY % tt.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % tt.qname "tt" >
<!ELEMENT %tt.qname; %tt.content; >
<!-- end of tt.element -->]]>
<!ENTITY % tt.attlist "INCLUDE" >
<![%tt.attlist;[
<!ATTLIST %tt.qname;
%Common.attrib;
>
<!-- end of tt.attlist -->]]>
<!-- end of xhtml-inlpres-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Inline Structural Module ...................................... -->
<!-- file: xhtml-inlstruct-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-inlstruct-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Inline Structural 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-inlstruct-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Inline Structural
br, span
This module declares the elements and their attributes
used to support inline-level structural markup.
-->
<!-- br: forced line break ............................. -->
<!ENTITY % br.element "INCLUDE" >
<![%br.element;[
<!ENTITY % br.content "EMPTY" >
<!ENTITY % br.qname "br" >
<!ELEMENT %br.qname; %br.content; >
<!-- end of br.element -->]]>
<!ENTITY % br.attlist "INCLUDE" >
<![%br.attlist;[
<!ATTLIST %br.qname;
%Core.attrib;
>
<!-- end of br.attlist -->]]>
<!-- span: generic inline container .................... -->
<!ENTITY % span.element "INCLUDE" >
<![%span.element;[
<!ENTITY % span.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % span.qname "span" >
<!ELEMENT %span.qname; %span.content; >
<!-- end of span.element -->]]>
<!ENTITY % span.attlist "INCLUDE" >
<![%span.attlist;[
<!ATTLIST %span.qname;
%Common.attrib;
>
<!-- end of span.attlist -->]]>
<!-- end of xhtml-inlstruct-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Param Element Module ..................................... -->
<!-- file: xhtml-param-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-param-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Param Element 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-param-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Parameters for Java Applets and Embedded Objects
param
This module provides declarations for the param element,
used to provide named property values for the applet
and object elements.
-->
<!-- param: Named Property Value ....................... -->
<!ENTITY % param.element "INCLUDE" >
<![%param.element;[
<!ENTITY % param.content "EMPTY" >
<!ENTITY % param.qname "param" >
<!ELEMENT %param.qname; %param.content; >
<!-- end of param.element -->]]>
<!ENTITY % param.attlist "INCLUDE" >
<![%param.attlist;[
<!ATTLIST %param.qname;
%XHTML.xmlns.attrib;
%id.attrib;
name CDATA #REQUIRED
value CDATA #IMPLIED
valuetype ( data | ref | object ) 'data'
type %ContentType.datatype; #IMPLIED
>
<!-- end of param.attlist -->]]>
<!-- end of xhtml-param-1.mod -->
<!-- ...................................................................... -->
<!-- XHTML Legacy Redeclarations Module ................................... -->
<!-- file: xhtml-legacy-redecl-1.mod
This is an extension of XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
Revision: $Id: xhtml-legacy-redecl-1.mod,v 4.4 2001/04/10 09:42:30 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Redeclarations 1.0//EN"
SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-legacy-redecl-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Legacy Redeclarations
This optional module replaces the Modular Framework module, interspersing
redeclarations of various parameter entities to allow for inclusions of
Transitional markup in the XHTML 1.1 document model. This instantiates
the modules needed to support the XHTML modularization model, including:
+ notations
+ datatypes
+ namespace-qualified names
+ common attributes
+ document model
+ character entities
By default, the Object module is included, with Frames and IFrames ignored.
The Intrinsic Events module is ignored by default but
occurs in this module because it must be instantiated
prior to Attributes but after Datatypes.
-->
<!ENTITY % xhtml-legacy.module "INCLUDE" >
<!ENTITY % xhtml-arch.module "IGNORE" >
<![%xhtml-arch.module;[
<!ENTITY % xhtml-arch.mod
PUBLIC "-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN"
"xhtml-arch-1.mod" >
%xhtml-arch.mod;]]>
<!ENTITY % xhtml-notations.module "INCLUDE" >
<![%xhtml-notations.module;[
<!ENTITY % xhtml-notations.mod
PUBLIC "-//W3C//NOTATIONS XHTML Notations 1.0//EN"
"xhtml-notations-1.mod" >
%xhtml-notations.mod;]]>
<!-- Datatypes Module ............................................ -->
<!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;]]>
<!-- Qualified Names Module ...................................... -->
<!ENTITY % xhtml-qname.module "INCLUDE" >
<![%xhtml-qname.module;[
<!ENTITY % xhtml-qname.mod
PUBLIC "-//W3C//ENTITIES XHTML Qualified Names 1.0//EN"
"xhtml-qname-1.mod" >
%xhtml-qname.mod;]]>
<!-- Additional Qualified Names .................................. -->
<!-- xhtml-legacy-1.mod -->
<!ENTITY % font.qname "%XHTML.pfx;font" >
<!ENTITY % basefont.qname "%XHTML.pfx;basefont" >
<!ENTITY % center.qname "%XHTML.pfx;center" >
<!ENTITY % s.qname "%XHTML.pfx;s" >
<!ENTITY % strike.qname "%XHTML.pfx;strike" >
<!ENTITY % u.qname "%XHTML.pfx;u" >
<!ENTITY % dir.qname "%XHTML.pfx;dir" >
<!ENTITY % menu.qname "%XHTML.pfx;menu" >
<!ENTITY % isindex.qname "%XHTML.pfx;isindex" >
<!-- xhtml-frames-1.mod -->
<!ENTITY % frameset.qname "%XHTML.pfx;frameset" >
<!ENTITY % frame.qname "%XHTML.pfx;frame" >
<!ENTITY % noframes.qname "%XHTML.pfx;noframes" >
<!-- xhtml-iframe-1.mod -->
<!ENTITY % iframe.qname "%XHTML.pfx;iframe" >
<!ENTITY % xhtml-events.module "IGNORE" >
<![%xhtml-events.module;[
<!ENTITY % xhtml-events.mod
PUBLIC "-//W3C//ENTITIES XHTML Intrinsic Events 1.0//EN"
"xhtml-events-1.mod" >
%xhtml-events.mod;]]>
<!-- Additional Common Attributes ................................ -->
<!-- include historical 'lang' attribute (which should
always match the value of 'xml:lang')
-->
<!ENTITY % lang.attrib
"xml:lang %LanguageCode.datatype; #IMPLIED
lang %LanguageCode.datatype; #IMPLIED"
>
<!-- Common Attributes Module .................................... -->
<!ENTITY % xhtml-attribs.module "INCLUDE" >
<![%xhtml-attribs.module;[
<!ENTITY % xhtml-attribs.mod
PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
"xhtml-attribs-1.mod" >
%xhtml-attribs.mod;]]>
<!-- placeholder for content model redeclarations -->
<!ENTITY % xhtml-model.redecl "" >
%xhtml-model.redecl;
<!-- Document Model Redeclarations ............................... -->
<!ENTITY % InlPres.class
"| %tt.qname; | %i.qname; | %b.qname; | %big.qname;
| %small.qname; | %sub.qname; | %sup.qname;
| %font.qname; | %basefont.qname; | %iframe.qname;
| %s.qname; | %strike.qname; | %u.qname;"
>
<!ENTITY % InlSpecial.class
"| %img.qname; | %map.qname;
| %applet.qname; | %object.qname;" >
<!ENTITY % BlkPres.class
"| %hr.qname; | %center.qname;"
>
<!ENTITY % BlkSpecial.class
"| %table.qname; | %form.qname; | %fieldset.qname;
| %noframes.qname; | %isindex.qname;"
>
<!ENTITY % List.class
"%ul.qname; | %ol.qname; | %dl.qname;
| %dir.qname; | %menu.qname;"
>
<!-- Document Model Module ...................................... -->
<!ENTITY % xhtml-model.module "INCLUDE" >
<![%xhtml-model.module;[
<!-- instantiate the Document Model module declared in the DTD driver
-->
%xhtml-model.mod;]]>
<!ENTITY % applet.content
"( #PCDATA | %param.qname; | %Flow.mix; )*"
>
<!ENTITY % blockquote.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % noscript.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % body.content
"( #PCDATA | %Flow.mix; )*"
>
<!-- redeclare content model of <html> to allow for either
body or frameset content. The SGML markup minimization
features used in HTML 4 do not apply, so the ambiguity
that necessitated separation into the separate Frameset
and Transitional DTDs is eliminated.
-->
<!ENTITY % html.content
"( %head.qname;, ( %body.qname; | %frameset.qname; ) )"
>
<!ENTITY % xhtml-charent.module "INCLUDE" >
<![%xhtml-charent.module;[
<!ENTITY % xhtml-charent.mod
PUBLIC "-//W3C//ENTITIES XHTML Character Entities 1.0//EN"
"xhtml-charent-1.mod" >
%xhtml-charent.mod;]]>
<!-- end of xhtml-legacy-redecl-1.mod -->
Dieser Anhang ist normativ.
Dieser Anhang ist informell.
In diesem Anhang sind Entwurfziele (Design Goals) mit der Markierung »Gn« versehen und Anforderungen (Requirements) mit »Rn.n«. Es gibt vier Hauptziele für das Modularisierungsrahmenwerk für XHTML::
Die Entwurfsziele des vorhergehenden Abschnitts führen zu einer großen Zahl von Anforderungen für das Modularisierungsrahmenwerk. Diese Anforderungen, in diesem Absschnitt zusammengefasst, können nach den zentralen Eigenschaften des Frameworks weiter klassifiziert werden.
Zusammengenommen drücken die Anforderungen in diesem Abschnitt das Verlangen aus, dass die im Rahmenwerk definierten Module den richtigen Grad der Granularität bekommen haben:
Die hier aufgeführten Anforderungen der Zusammensetzbarkeit sollen gewährleisten, dass das Modularisierungsrahmenwerk in der Lage ist, die richtige Menge von Zielmodulen auszudrücken, die von der Zielgruppe des Rahmenwerks benötigt werden:
Das Modularisierungsrahmenwerk wird nur dann allgemein akzeptiert, wenn es die beschriebenen Mechanismen für unsere Zielgruppe einfach gestalten, das Rahmenwerk zu benutzen:
Das hier beschriebene Modularisierungsrahmenwerk sollte gut mit XML und anderen, vom W3C entwickelten Standards zusammen arbeiten:
Die Effektivität des Rahmenwerks wird auch daran gemessen werden, wie einfach es ist, das Verhalten von Modulen zu prüfen, die gemäß dem Rahmenwerk entwickelt wurden, sowie die Gültigkeit von Dokumenten, die auf die Module zurückgreifen:
Dieser Anhang ist informell.
Diese Spezifikation wurde von der W3C HTML Working Group erstellt. Zum Zeitpunkt der Publikation hatte die Gruppe folgende Mitglieder:
Steven Pemberton, CWI (HTML Working Group Chair); Murray Altheim, Sun Microsystems; Daniel Austin, Mozquito Technologies; Jonny Axelsson, Opera Software; Mark Baker, Sun Microsystems; Wayne Carr, Intel; Tantek Çelik, Microsoft; Doug Dominiak, Openwave Systems; Andrew W. Donoho, IBM; Herman Elenbaas, Philips Electronics; Beth Epperson, Netscape/AOL; Masayasu Ishikawa, W3C (HTML Activity Lead); Shin'ichi Matsui, Panasonic; Shane McCarron, Applied Testing and Technology; Ann Navarro, WebGeek, Inc.; Peter Stark, Ericsson; Michel Suignard, Microsoft; Jeremy Wadsworth, Quark Inc.; Malte Wedel, Mozquito Technologies; Ted Wugofski, Openwave Systems;