📑 Table of Contents

XHTML modularization is a methodology for producing modularized markup languages in a number of different schema languages (currently DTDs, XML Schema and Relax NG) so that the modules can easily be plugged together to create markup languages.[1]

Although it was originally designed to help manage the development of various XHTML Profiles, such as XHTML 1.1, XHTML Basic for mobile devices, and XHTML Print for sending to printers, the methodology is independent of XHTML, and has been used for the definition of other markup languages as well, such as SVG and MathML.

Method

edit

XHTML Modularization consists of three essential parts

  1. a technique or methodology (as explained, actually independent of XHTML, and applicable to any XML-based markup language) for defining abstract modules of a markup language, and implementing those modules in various schema languages, such as DTDs, XML Schema, and Relax NG.
  2. a collection of abstract modules
  3. a number of implementations of those modules in various schema languages.

To define a language using these modules, you only have to define a driver in one or more of the implementation schema languages, that causes the necessary modules to be loaded.

Application to XHTML

edit

In its application to XHTML, it provides a means for defining modules of XHTML to allow subsetting and extending XHTML in a controlled way.[2]

Core modules are:

  • Structure (html, head, body, title...)
  • Text (h1, h2, h3... p, pre...)
  • Hypertext (a)
  • List (ul, li...)

Other modules include applet, image, forms and basic forms.

References

edit
  1. ^ "Modularization of XHTML - W3 Consortium".
  2. ^ "Modularization of XHTML in Relax NG".

📚 Artikel Terkait di Wikipedia

XHTML+RDFa

RDFa via XHTML Modularization. W3C Recommendation 22 August 2013". "XHTML+RDFa 1.1 - Third Edition. Support for RDFa via XHTML Modularization. W3C Recommendation

XHTML Basic

phones, PDAs, pagers, and set-top boxes. XHTML Basic is a subset of XHTML 1.1, defined using XHTML Modularization including a reduced set of modules for

XHTML

first modular XHTML variants were XHTML 1.1 and XHTML Basic 1.0. In October 2008 Modularization of XHTML was superseded by XHTML Modularization 1.1, which

RDFa

W3C Recommendation that adds a set of attribute-level extensions to HTML, XHTML and various XML-based document types for embedding rich metadata within

XHTML Mobile Profile

Alliance W3C Recommendation for XHTML 1.1 W3C Recommendation for Modularization of XHTML as of April 10, 2001. XHTML-MP Authoring PracticesvteStandards

Document type declaration

lang="en"> XHTML 1.1 is the most current finalized revision of XHTML, introducing support for XHTML Modularization. XHTML 1.1 has the stringency of XHTML 1.0

HTML5

by computers and devices such as web browsers, parsers, etc., without XHTML's rigidity; and to remain backward-compatible with older software. HTML5

Media type

extensible data typing and type negotiation. "4.3. Attribute Types". XHTML Modularization 1.1 - Second Edition. W3C. 2010-07-29. ContentType: A media type