XHTML+RDFa 1.1 (original) (raw)

W3C

Support for RDFa via XHTML Modularization

W3C Recommendation 07 June 2012

This version:

http://www.w3.org/TR/2012/REC-xhtml-rdfa-20120607/

Latest published version:

http://www.w3.org/TR/xhtml-rdfa/

Previous version:

http://www.w3.org/TR/2012/PR-xhtml-rdfa-20120508/

Previous, 1.0 version of the Recommendation:

http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014/

Editor:

Shane McCarron, Applied Testing and Technology, Inc., shane@aptest.com

Please refer to the errata for this document, which may include some normative corrections.

This document is also available in these non-normative formats: Diff from Proposed Recommendation, Postscript version, and PDF version.

The English version of this specification is the only normative version. Non-normative translations may also be available.

Copyright © 2007-2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.


Abstract

RDFa Core 1.1 [RDFA-CORE] defines attributes and syntax for embedding semantic markup in Host Languages. This document defines one such Host Language. This language is a superset of XHTML 1.1 [XHTML11-2e], integrating the attributes as defined in RDFa Core 1.1. This document is intended for authors who want to create XHTML Family documents that embed rich semantic markup.

Status of This Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.

This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.

This is a revision of Sections 8 and 9 and Appendix A of RDFa Syntax 1.0 [RDFA-SYNTAX]. This document supersedes those sections of the previous Recommendation. There are a number of substantive differences between this version and its predecessor, including:

  1. Inheritance of basic processing rules from [RDFA-CORE].
  2. The inclusion of an implementation of the markup language using XML Schema.
  3. The addition of @lang to be consistent with recent changes in [XHTML11-2e].
  4. Removal of the collection of TERMs from this document - instead deferring the definitions in an RDFa Initial Context document.

A sample test harness is available. This set of tests is not intended to be exhaustive. Users may find the tests to be useful examples of RDFa usage.

The implementation reportused by the director to transition to Recommendation has been made available. There have been no formal objections to the publication of this document.

This document was published by the RDF Web Applications Working Group as a Recommendation. If you wish to make comments regarding this document, please send them to public-rdfa@w3.org (subscribe, archives). All feedback is welcome.

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

Table of Contents

1. Introduction

XHTML+RDFa 1.1 is an XHTML Family markup language. It extends the XHTML 1.1 markup language with the attributes defined in RDFa Core 1.1. The document also defines an XHTML Modularization-compatible [XHTML-MODULARIZATION11-2e] module for the RDFa Core attributes in both XML DTD and XML Schema formats.

2. Conformance

As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.

The key words must, must not, required, should, should not, recommended, may, and optional in this specification are to be interpreted as described in [RFC2119].

2.1 Document Conformance

A strictly conforming XHTML+RDFa document is a document that requires only the facilities described as mandatory in this specification. Such a document satisfies the following criteria:

  1. The document must conform to the constraints expressed in the schemas inAppendix A - XHTML+RDFa XML Schema andAppendix B - XHTML+RDFa Document Type Definition.
  2. The local part of the root element of the document must behtml.
  3. The start tag of the root element of the document must explicitly contain a default namespace declaration for the XHTML namespace [XML-NAMES11]. The namespace URI for XHTML is defined to be http://www.w3.org/1999/xhtml.
    The start tag may also contain the declaration of the XML Schema Instance Namespace and an XML Schema InstanceschemaLocation attribute [XMLSCHEMA11-2]. Such an attribute would associate the XHTML namespacehttp://www.w3.org/1999/xhtml with the XML Schema at the URI http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd.
  4. There may Be a @version attribute on the html element with the value "XHTML+RDFa 1.1".
Virtual Library

Moved to example.org.

Note that in this example, the XML declaration is included. An XML declaration like the one above is not required in all XML documents. XHTML document authors_should_ use XML declarations in all their documents. XHTML document authors must use an XML declaration when the character encoding of the document is other than the default UTF-8 or UTF-16 and no encoding is specified by a higher-level protocol.

XHTML+RDFa documents should be labeled with the Internet Media Type "application/xhtml+xml" as defined in [RFC3236]. For further information on using media types with XHTML Family markup languages, see the informative note [XHTML-MEDIA-TYPES].

2.2 User Agent Conformance

A conforming user agent must support all of the features required in this specification. A conforming user agent must also support the User Agent conformance requirements as defined in XHTML Modularization [XHTML-MODULARIZATION11-2e] section on "XHTML Family User Agent Conformance".

3. Additional RDFa Processing Rules

Documents conforming to the rules in this specification are processed according to [RDFA-CORE] with the following extensions:

When an XHTML+RDFa document uses @version on the html element, a conforming RDFa Processor must examine the value of this attribute. If the value matches that of a defined version of XHTML+RDFa, then the processing rules for that version must be used. If the value does not match a defined version, or there is no @versionattribute, then the processing rules for the most recent version of XHTML+RDFa must be used.

4. XHTML+RDFa 1.1 Definition

The XHTML+RDFa 1.1 document type is a fully functional document type with rich semantics. It is a superset of [XHTML11-2e].

The XHTML+RDFa 1.1 document type is made up of the following XHTML modules. The elements, attributes, and content models associated with these modules are defined in "XHTML Modularization" [XHTML-MODULARIZATION11-2e]. The elements are listed here for information purposes, but the definitions in XHTML Modularization should be considered authoritative.

Structure Module

body, head, html, title.

Text Module

abbr, acronym, address, blockquote, br, cite, code, dfn, div, em, h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var

Hypertext Module

a. @href is available on all elements.

List Module

dl, dt, dd, ol, ul, li

Object Module

object, param

Presentation Module

b, big, hr, i, small, sub, sup, tt

Edit Module

del, ins

Bidirectional Text Module

bdo

Forms Module

button, fieldset, form, input, label, legend, select, optgroup, option, textarea

Table Module

caption, col, colgroup, table, tbody, td, tfoot, th, thead, tr

Image Module

img

Client-side Image Map Module

area, map

Server-side Image Map Module

Attribute ismap on img

Intrinsic Events Module

Events attributes

Metainformation Module

meta

Scripting Module

noscript, script

Stylesheet Module

style element

Style Attribute Module Deprecated

@style

Target Module

@target

Link Module

link

Base Module

base

Metainformation Attributes Module

@about, @content, @datatype,@typeof, @prefix, @property, @rel,@resource, @rev, @vocab are available on all elements.

Ruby Annotation Module from [RUBY]

ruby, rbc, rtc, rb, rt, rp

This specification also adds the lang attribute to the I18N attribute collection as defined in [XHTML-MODULARIZATION11-2e]. Thelang attribute is defined in [HTML401]. When this attribute and the xml:lang attribute are specified on the same element, thexml:lang attribute takes precedence. When both lang and xml:lang are specified on the same element, they must have the same value.

There are no additional definitions required by this document type. An implementation of this document type as an XML Schema is defined inAppendix A, and as an XML DTD is defined in Appendix B.

A. XHTML+RDFa XML Schema

This appendix is normative.

This appendix includes an implementation of the XHTML+RDFa 1.1 language using XML Schema. It is implemented by combining the XHTML 1.1 Schema with the XHTML Metainformation Attribute Module. This is done by using a content model module, and then a driver module. There are direct links to the various files for download purposes. Please note that the files targeted by the "latest version" links may change slowly over time. See the W3C XHTML2 Working Group home page for more information.

A.2 XHTML+RDFa Schema Content Model Module

You can download this version of this file from <SCHEMA/xhtml-rdfa-model-2.xsd>. The latest version is available at http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-model-2.xsd.

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" elementFormDefault="qualified" > <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/> xs:annotation xs:documentation This is the XML Schema module of common content models for XHTML11

        <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi><mi>d</mi><mo>:</mo><mi>O</mi><mi>v</mi><mi>e</mi><mi>r</mi><mi>v</mi><mi>i</mi><mi>e</mi><mi>w</mi><mi mathvariant="normal">.</mi><mi>h</mi><mi>t</mi><mi>m</mi><mi>l</mi><mo separator="true">,</mo><mi>v</mi><mn>1.42018</mn><mi mathvariant="normal">/</mi><mn>10</mn><mi mathvariant="normal">/</mi><mn>0913</mn><mo>:</mo><mn>22</mn><mo>:</mo><mn>29</mn><mi>d</mi><mi>e</mi><mi>n</mi><mi>i</mi><mi>s</mi><mi>E</mi><mi>x</mi><mi>p</mi></mrow><annotation encoding="application/x-tex">Id: Overview.html,v 1.4 2018/10/09 13:22:29 denis Exp </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord mathnormal" style="margin-right:0.07847em;">I</span><span class="mord mathnormal">d</span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">:</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="base"><span class="strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mord mathnormal" style="margin-right:0.02778em;">O</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span><span class="mord mathnormal" style="margin-right:0.02778em;">er</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span><span class="mord mathnormal">i</span><span class="mord mathnormal">e</span><span class="mord mathnormal" style="margin-right:0.02691em;">w</span><span class="mord">.</span><span class="mord mathnormal">h</span><span class="mord mathnormal">t</span><span class="mord mathnormal">m</span><span class="mord mathnormal" style="margin-right:0.01968em;">l</span><span class="mpunct">,</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span><span class="mord">1.42018/10/0913</span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">:</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="base"><span class="strut" style="height:0.6444em;"></span><span class="mord">22</span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">:</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="base"><span class="strut" style="height:0.8889em;vertical-align:-0.1944em;"></span><span class="mord">29</span><span class="mord mathnormal">d</span><span class="mord mathnormal">e</span><span class="mord mathnormal">ni</span><span class="mord mathnormal">s</span><span class="mord mathnormal" style="margin-right:0.05764em;">E</span><span class="mord mathnormal">x</span><span class="mord mathnormal">p</span></span></span></span> 
    </xs:documentation>
    <xs:documentation source="xhtml-copyright-1.xsd"/>
</xs:annotation>
<xs:annotation>
    <xs:documentation> 
        XHTML Document Model 
        This module describes the groupings of elements/attributes 
        that make up common content models for XHTML elements. 
        XHTML has following basic content models: 
           xhtml.Inline.mix; character-level elements
           xhtml.Block.mix; block-like elements, e.g., paragraphs and lists
           xhtml.Flow.mix; any block or inline elements 
           xhtml.HeadOpts.mix; Head Elements 
           xhtml.InlinePre.mix; Special class for pre content model 
           xhtml.InlineNoAnchor.mix; Content model for Anchor 
        
        Any groups declared in this module may be used to create 
        element content models, but the above are considered 'global' 
        (insofar as that term applies here). XHTML has the
        following Attribute Groups 
           xhtml.Core.extra.attrib 
           xhtml.I18n.extra.attrib
           xhtml.Common.extra 
        
        The above attribute Groups are considered Global 
    </xs:documentation>
</xs:annotation>
<xs:include schemaLocation="xhtml-metaAttributes-2.xsd">
    <xs:annotation>
        <xs:documentation>
    XHTML Metainformation Modules

    Attributes defined here:
      XHTML RDFa attribtues
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/rdfa-syntax"/>
    </xs:annotation>
</xs:include>
<xs:attributeGroup
    name="xhtml.I18n.extra.attrib">
    <xs:annotation>
        <xs:documentation> Extended I18n attribute </xs:documentation>
    </xs:annotation>
    <xs:attributeGroup
        ref="xhtml.dir.attrib">
        <xs:annotation>
            <xs:documentation> 
            "dir" Attribute from Bi Directional Text (bdo) Module
            </xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
</xs:attributeGroup>
<xs:attributeGroup
    name="xhtml.Common.extra">
    <xs:annotation>
        <xs:documentation> Extended Common Attributes </xs:documentation>
    </xs:annotation>
    <xs:attributeGroup
        ref="xhtml.style.attrib">
        <xs:annotation>
            <xs:documentation> 
            "style" attribute from Inline Style Module 
            </xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="xhtml.Events.attrib">
        <xs:annotation>
            <xs:documentation> 
            Attributes from Events Module
            </xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="xhtml.metaAttributes.attrib">
        <xs:annotation>
            <xs:documentation> 
            Attributes from Metainformation Module
            </xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
</xs:attributeGroup>
<xs:attributeGroup
    name="xhtml.Core.extra.attrib">
    <xs:annotation>
        <xs:documentation> Extend Core Attributes </xs:documentation>
    </xs:annotation>
</xs:attributeGroup>
<xs:attributeGroup
    name="xhtml.Global.core.extra.attrib">
    <xs:annotation>
        <xs:documentation> Extended Global Core Attributes </xs:documentation>
    </xs:annotation>
</xs:attributeGroup>
<xs:attributeGroup
    name="xhtml.Global.I18n.extra.attrib">
    <xs:annotation>
        <xs:documentation> Extended Global I18n attributes </xs:documentation>
    </xs:annotation>
</xs:attributeGroup>
<xs:attributeGroup
    name="xhtml.Global.Common.extra">
    <xs:annotation>
        <xs:documentation> Extended Global Common Attributes </xs:documentation>
    </xs:annotation>
</xs:attributeGroup>
<xs:group
    name="xhtml.Head.extra">
    <xs:sequence/>
</xs:group>
<xs:group
    name="xhtml.HeadOpts.mix">
    <xs:choice>
        <xs:element name="script"
            type="xhtml.script.type"/>
        <xs:element name="style"
            type="xhtml.style.type"/>
        <xs:element name="meta"
            type="xhtml.meta.type"/>
        <xs:element name="link"
            type="xhtml.link.type"/>
        <xs:element name="object"
            type="xhtml.object.type"/>
        <xs:group
            ref="xhtml.Head.extra"/>
    </xs:choice>
</xs:group>
<xs:group
    name="xhtml.head.content">
    <xs:sequence>
        <xs:group
            ref="xhtml.HeadOpts.mix"
            minOccurs="0"
            maxOccurs="unbounded"/>
        <xs:choice>
            <xs:sequence>
                <xs:element name="title"
                    minOccurs="1"
                    maxOccurs="1"
                    type="xhtml.title.type"/>
                <xs:group
                    ref="xhtml.HeadOpts.mix"
                    minOccurs="0"
                    maxOccurs="unbounded"/>
                <xs:sequence
                    minOccurs="0">
                    <xs:element name="base"
                        type="xhtml.base.type"/>
                    <xs:group
                        ref="xhtml.HeadOpts.mix"
                        minOccurs="0"
                        maxOccurs="unbounded"/>
                </xs:sequence>
            </xs:sequence>
            <xs:sequence>
                <xs:element name="base"
                    type="xhtml.base.type"
                    minOccurs="1"
                    maxOccurs="1"/>
                <xs:group
                    ref="xhtml.HeadOpts.mix"
                    minOccurs="0"
                    maxOccurs="unbounded"/>
                <xs:element name="title"
                    minOccurs="1"
                    maxOccurs="1"
                    type="xhtml.title.type"/>
                <xs:group
                    ref="xhtml.HeadOpts.mix"
                    minOccurs="0"
                    maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:choice>
    </xs:sequence>
</xs:group>
<!--
ins and del are used to denote editing changes

--> <xs:group name="xhtml.Edit.class"> xs:choice <xs:element name="ins" type="xhtml.edit.type"/> <xs:element name="del" type="xhtml.edit.type"/> <xs:group name="xhtml.Script.class"> xs:choice <xs:element name="script" type="xhtml.script.type"/> <xs:element name="noscript" type="xhtml.noscript.type"/> <xs:group name="xhtml.Misc.extra"> xs:sequence/ <xs:group name="xhtml.Misc.class"> xs:choice <xs:group ref="xhtml.Edit.class"/> <xs:group ref="xhtml.Script.class"/> <xs:group ref="xhtml.Misc.extra"/> <xs:group name="xhtml.InlStruct.class"> xs:choice <xs:element name="br" type="xhtml.br.type"/> <xs:element name="span" type="xhtml.span.type"/> <xs:group name="xhtml.InlPhras.class"> xs:choice <xs:element name="em" type="xhtml.em.type"/> <xs:element name="strong" type="xhtml.strong.type"/> <xs:element name="dfn" type="xhtml.dfn.type"/> <xs:element name="code" type="xhtml.code.type"/> <xs:element name="samp" type="xhtml.samp.type"/> <xs:element name="kbd" type="xhtml.kbd.type"/> <xs:element name="var" type="xhtml.var.type"/> <xs:element name="cite" type="xhtml.cite.type"/> <xs:element name="abbr" type="xhtml.abbr.type"/> <xs:element name="acronym" type="xhtml.acronym.type"/> <xs:element name="q" type="xhtml.q.type"/> <xs:group name="xhtml.InlPres.class"> xs:choice <xs:element name="tt" type="xhtml.InlPres.type"/> <xs:element name="i" type="xhtml.InlPres.type"/> <xs:element name="b" type="xhtml.InlPres.type"/> <xs:element name="big" type="xhtml.InlPres.type"/> <xs:element name="small" type="xhtml.InlPres.type"/> <xs:element name="sub" type="xhtml.InlPres.type"/> <xs:element name="sup" type="xhtml.InlPres.type"/> <xs:group name="xhtml.I18n.class"> xs:sequence <xs:element name="bdo" type="xhtml.bdo.type"/> <xs:group name="xhtml.Anchor.class"> xs:sequence <xs:element name="a" type="xhtml.a.type"/> <xs:group name="xhtml.InlSpecial.class"> xs:choice <xs:element name="img" type="xhtml.img.type"/> <xs:element name="map" type="xhtml.map.type"/> <xs:element name="object" type="xhtml.object.type"/> <xs:group name="xhtml.InlForm.class"> xs:choice <xs:element name="input" type="xhtml.input.type"/> <xs:element name="select" type="xhtml.select.type"/> <xs:element name="textarea" type="xhtml.textarea.type"/> <xs:element name="label" type="xhtml.label.type"/> <xs:element name="button" type="xhtml.button.type"/> <xs:group name="xhtml.Inline.extra"> xs:sequence/ <xs:group name="xhtml.Ruby.class"> xs:sequence <xs:element name="ruby" type="xhtml.ruby.type"/> <xs:group name="xhtml.Inline.class"> xs:choice <xs:group ref="xhtml.InlStruct.class"/> <xs:group ref="xhtml.InlPhras.class"/> <xs:group ref="xhtml.InlPres.class"/> <xs:group ref="xhtml.I18n.class"/> <xs:group ref="xhtml.Anchor.class"/> <xs:group ref="xhtml.InlSpecial.class"/> <xs:group ref="xhtml.InlForm.class"/> <xs:group ref="xhtml.Ruby.class"/> <xs:group ref="xhtml.Inline.extra"/> <xs:group name="xhtml.InlNoRuby.class"> xs:choice <xs:group ref="xhtml.InlStruct.class"/> <xs:group ref="xhtml.InlPhras.class"/> <xs:group ref="xhtml.InlPres.class"/> <xs:group ref="xhtml.I18n.class"/> <xs:group ref="xhtml.Anchor.class"/> <xs:group ref="xhtml.InlSpecial.class"/> <xs:group ref="xhtml.InlForm.class"/> <xs:group ref="xhtml.Inline.extra"/> <xs:group name="xhtml.InlinePre.mix"> xs:choice <xs:group ref="xhtml.InlStruct.class"/> <xs:group ref="xhtml.InlPhras.class"/> <xs:element name="tt" type="xhtml.InlPres.type"/> <xs:element name="i" type="xhtml.InlPres.type"/> <xs:element name="b" type="xhtml.InlPres.type"/> <xs:group ref="xhtml.I18n.class"/> <xs:group ref="xhtml.Anchor.class"/> <xs:group ref="xhtml.Misc.class"/> <xs:element name="map" type="xhtml.map.type"/> <xs:group ref="xhtml.Inline.extra"/> <xs:group name="xhtml.InlNoAnchor.class"> xs:choice <xs:group ref="xhtml.InlStruct.class"/> <xs:group ref="xhtml.InlPhras.class"/> <xs:group ref="xhtml.InlPres.class"/> <xs:group ref="xhtml.I18n.class"/> <xs:group ref="xhtml.InlSpecial.class"/> <xs:group ref="xhtml.InlForm.class"/> <xs:group ref="xhtml.Ruby.class"/> <xs:group ref="xhtml.Inline.extra"/> <xs:group name="xhtml.InlNoAnchor.mix"> xs:choice <xs:group ref="xhtml.InlNoAnchor.class"/> <xs:group ref="xhtml.Misc.class"/> <xs:group name="xhtml.Inline.mix"> xs:choice <xs:group ref="xhtml.Inline.class"/> <xs:group ref="xhtml.Misc.class"/> <xs:group name="xhtml.InlNoRuby.mix"> xs:choice <xs:group ref="xhtml.InlNoRuby.class"/> <xs:group ref="xhtml.Misc.class"/> <xs:group name="xhtml.Heading.class"> xs:choice <xs:element name="h1" type="xhtml.h1.type"/> <xs:element name="h2" type="xhtml.h2.type"/> <xs:element name="h3" type="xhtml.h3.type"/> <xs:element name="h4" type="xhtml.h4.type"/> <xs:element name="h5" type="xhtml.h5.type"/> <xs:element name="h6" type="xhtml.h6.type"/> <xs:group name="xhtml.List.class"> xs:choice <xs:element name="ul" type="xhtml.ul.type"/> <xs:element name="ol" type="xhtml.ol.type"/> <xs:element name="dl" type="xhtml.dl.type"/> <xs:group name="xhtml.Table.class"> xs:choice <xs:element name="table" type="xhtml.table.type"/> <xs:group name="xhtml.Form.class"> xs:choice <xs:element name="form" type="xhtml.form.type"/> <xs:group name="xhtml.Fieldset.class"> xs:choice <xs:element name="fieldset" type="xhtml.fieldset.type"/> <xs:group name="xhtml.BlkStruct.class"> xs:choice <xs:element name="p" type="xhtml.p.type"/> <xs:element name="div" type="xhtml.div.type"/> <xs:group name="xhtml.BlkPhras.class"> xs:choice <xs:element name="pre" type="xhtml.pre.type"/> <xs:element name="blockquote" type="xhtml.blockquote.type"/> <xs:element name="address" type="xhtml.address.type"/> <xs:group name="xhtml.BlkPres.class"> xs:sequence <xs:element name="hr" type="xhtml.hr.type"/> <xs:group name="xhtml.BlkSpecial.class"> xs:choice <xs:group ref="xhtml.Table.class"/> <xs:group ref="xhtml.Form.class"/> <xs:group ref="xhtml.Fieldset.class"/> <xs:group name="xhtml.Block.extra"> xs:sequence/ <xs:group name="xhtml.Block.class"> xs:choice <xs:group ref="xhtml.BlkStruct.class"/> <xs:group ref="xhtml.BlkPhras.class"/> <xs:group ref="xhtml.BlkPres.class"/> <xs:group ref="xhtml.BlkSpecial.class"/> <xs:group ref="xhtml.Block.extra"/> <xs:group name="xhtml.Block.mix"> xs:choice <xs:group ref="xhtml.Heading.class"/> <xs:group ref="xhtml.List.class"/> <xs:group ref="xhtml.Block.class"/> <xs:group ref="xhtml.Misc.class"/> <xs:group name="xhtml.Flow.mix"> xs:choice <xs:group ref="xhtml.Heading.class"/> <xs:group ref="xhtml.List.class"/> <xs:group ref="xhtml.Block.class"/> <xs:group ref="xhtml.Inline.class"/> <xs:group ref="xhtml.Misc.class"/> <xs:group name="xhtml.BlkNoForm.mix"> xs:choice <xs:group ref="xhtml.Heading.class"/> <xs:group ref="xhtml.List.class"/> <xs:group ref="xhtml.BlkStruct.class"/> <xs:group ref="xhtml.BlkPhras.class"/> <xs:group ref="xhtml.BlkPres.class"/> <xs:group ref="xhtml.Table.class"/> <xs:group ref="xhtml.Block.extra"/> <xs:group ref="xhtml.Misc.class"/> <xs:element name="html" type="xhtml.html.type"/>

A.3 XHTML+RDFa Schema Modules

You can download this version of this file from <SCHEMA/xhtml-rdfa-modules-2.xsd>. The latest version is available at http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-modules-2.xsd.

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" > <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd" /> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="" title="undefined" rel="noopener noreferrer">http://www.w3.org/2001/xml.xsd"/> xs:annotation xs:documentation This schema includes all modules for XHTML1.1 Document Type. Id:Overview.html,v1.42018/10/0913:22:29denisExpId: Overview.html,v 1.4 2018/10/09 13:22:29 denis Exp Id:Overview.html,v1.42018/10/0913:22:29denisExp <xs:documentation source="xhtml-copyright-1.xsd"/> xs:annotation xs:documentation This schema includes all modules (and redefinitions) for XHTML1.1 Document Type. XHTML1.1 Document Type includes the following Modules

   XHTML Core modules (Required for XHTML Family Conformance)
        +  text
        +  hypertext
        +  lists
        +  structure

   Other XHTML modules
        +  Edit
        +  Bdo
        +  Presentational
        +  Link
        +  Meta
        +  Base
        +  Scripting
        +  Style
        +  Image
        +  Applet
        +  Object
        +  Param (Applet/Object modules require Param Module)
        +  Tables
        +  Target
        +  Forms
        +  Client side image maps
        +  Server side image maps

</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="xhtml-framework-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Schema Framework Component Modules:
        +  notations
        +  datatypes
        +  common attributes
        +  character entities
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-text-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Text module

    The Text module includes declarations for all core
    text container elements and their attributes.

        +  block phrasal
        +  block structural
        +  inline phrasal
        +  inline structural

    Elements defined here:
      * address, blockquote, pre, h1, h2, h3, h4, h5, h6
      * div, p
      * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
      * br, span
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>
    </xs:annotation>
</xs:include>

<xs:include schemaLocation="xhtml-list-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Lists module

    Elements defined here:
      * dt, dd, dl, ol, ul, li
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>
    </xs:annotation>
</xs:include>
<xs:redefine schemaLocation="xhtml-struct-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Structural module

    Elements defined here:
      * title, head, body, html
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
    </xs:annotation>
    <xs:attributeGroup name="xhtml.version.attrib">
        <xs:annotation>
            <xs:documentation>
        Redefinition by the XHTML11 Markup (for value of version attr)
     </xs:documentation>
        </xs:annotation>
        <xs:attribute name="version" type="xh11d:CDATA" fixed="XHTML+RDFa 1.1"/>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.body.attlist">
        <xs:attributeGroup ref="xhtml.body.attlist">
            <xs:annotation>
                <xs:documentation>
          Original Body Attlist
        </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.body.events.attlist">
            <xs:annotation>
                <xs:documentation>
          Redefinition by XHTML Event Attribute Module
        </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.head.attlist">  
        <xs:attributeGroup ref="xhtml.I18n.attrib"/>
        <xs:attributeGroup ref="xhtml.id"/>
        <xs:attributeGroup ref="xhtml.class"/>
        <xs:attributeGroup ref="xhtml.title"/>
         <xs:attributeGroup ref="xhtml.Common.extra"/>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.title.attlist">
        <xs:attributeGroup ref="xhtml.title.attlist"/>
        <xs:attributeGroup ref="xhtml.class"/>
        <xs:attributeGroup ref="xhtml.title"/>
        <xs:attributeGroup ref="xhtml.Common.extra"/>
    </xs:attributeGroup>
</xs:redefine>
<xs:include schemaLocation="xhtml-edit-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Edit module

    Elements defined here:
      * ins, del
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_editmodule"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-bdo-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Bidirectional element module

    Elements defined here:
      * bdo
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_bdomodule"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-pres-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Presentational module

     Elements defined here:
       * hr, b, big, i, small,sub, sup, tt
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_presentationmodule"/>
    </xs:annotation>
</xs:include>
<xs:redefine schemaLocation="xhtml-base-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Base module

    Elements defined here:
      * base
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_basemodule"/>
    </xs:annotation>
    <xs:attributeGroup name="xhtml.base.attlist">
        <xs:annotation>
            <xs:documentation>
        Changes to XHTML base Attlist
      </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="xhtml.base.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Base Attributes (declared in Base Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.base.target.attlist">
            <xs:annotation>
                <xs:documentation>
            XHTML Target Module - Attribute additions
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
</xs:redefine>
<xs:include schemaLocation="xhtml-script-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Scripting module

    Elements defined here:
      * script, noscript
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_scriptmodule"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-style-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Style module

    Elements defined here:
      * style
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_stylemodule"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-inlstyle-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Style attribute module

    Attribute defined here:
      * style
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_styleattributemodule"/>
    </xs:annotation>
</xs:include>
<xs:redefine schemaLocation="xhtml-image-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Image module

    Elements defined here:
      * img
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_imagemodule"/>
    </xs:annotation>
    <xs:attributeGroup name="xhtml.img.attlist">
        <xs:attributeGroup ref="xhtml.img.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Image Attributes (in Image Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.img.csim.attlist">
            <xs:annotation>
                <xs:documentation>
            Redefinition by Client Side Image Map Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.img.ssimap.attlist">
            <xs:annotation>
                <xs:documentation>
            Redefinition by Server Side Image Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
</xs:redefine>
<xs:redefine schemaLocation="xhtml-csismap-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Client-side mage maps module

    Elements defined here:
      * area, map
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_imapmodule"/>
    </xs:annotation>
    <xs:attributeGroup name="xhtml.area.attlist">
        <xs:attributeGroup ref="xhtml.area.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Area Attributes (in CSI Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.area.events.attlist">
            <xs:annotation>
                <xs:documentation>
            Redefinition by Events Attribute Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.area.target.attlist">
            <xs:annotation>
                <xs:documentation>
            Target Module - Area Attribute Additions
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
</xs:redefine>
<xs:include schemaLocation="xhtml-ssismap-1.xsd">
    <xs:annotation>
        <xs:documentation>
   Server-side image maps module

    Attributes defined here:
      * ismap on img
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_servermapmodule"/>
    </xs:annotation>
</xs:include>
<xs:redefine schemaLocation="xhtml-object-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Object module

    Elements defined here:
      * object
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_objectmodule"/>
    </xs:annotation>
    <xs:attributeGroup name="xhtml.object.attlist">
        <xs:attributeGroup ref="xhtml.object.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Object Attlist
          </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.object.csim.attlist">
            <xs:annotation>
                <xs:documentation>
            Redefinition by Client Image Map Module
          </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
</xs:redefine>
<xs:include schemaLocation="xhtml-param-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Param module

    Elements defined here:
      * param
  </xs:documentation>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-table-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Tables module

    Elements defined here:
      * table, caption, thead, tfoot, tbody, colgroup, col, tr, th, td
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_tablemodule"/>
    </xs:annotation>
</xs:include>
<xs:redefine schemaLocation="xhtml-form-1.xsd">
    <xs:annotation>
        <xs:documentation>
        Forms module

        Elements defined here:
          * form, label, input, select, optgroup, option,
          * textarea, fieldset, legend, button
      </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule"/>
    </xs:annotation>
    <xs:attributeGroup name="xhtml.form.attlist">
        <xs:annotation>
            <xs:documentation>
        Changes to XHTML Form Attlist
      </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="xhtml.form.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Form Attributes (declared in Forms Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.form.events.attlist">
            <xs:annotation>
                <xs:documentation>
            XHTML Events Module - Attribute additions
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.form.target.attlist">
            <xs:annotation>
                <xs:documentation>
                  XHTML Target Module - Attribute additions
                 </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.input.attlist">
        <xs:annotation>
            <xs:documentation>
        Changes to XHTML Form Input Element
      </xs:documentation>
        </xs:annotation>
        <xs:attributeGroup ref="xhtml.input.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Input Attributes (in Forms Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.input.csim.attlist">
            <xs:annotation>
                <xs:documentation>
            Redefinition by Client Side Image Map Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.input.ssimap.attlist">
            <xs:annotation>
                <xs:documentation>
            Redefinition by Server Side Image Map Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.input.events.attlist">
            <xs:annotation>
                <xs:documentation>
           Redefinition by Event Attribute Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.label.attlist">
        <xs:attributeGroup ref="xhtml.label.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Label Attributes (in Forms Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.label.events.attlist">
            <xs:annotation>
                <xs:documentation>
           Redefinition by Event Attribute Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.select.attlist">
        <xs:attributeGroup ref="xhtml.select.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Select Attributes (in Forms Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.select.events.attlist">
            <xs:annotation>
                <xs:documentation>
           Redefinition by Event Attribute Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.textarea.attlist">
        <xs:attributeGroup ref="xhtml.textarea.attlist">
            <xs:annotation>
                <xs:documentation>
            Original TextArea Attributes (in Forms Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.textarea.events.attlist">
            <xs:annotation>
                <xs:documentation>
           Redefinition by Event Attribute Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
    <xs:attributeGroup name="xhtml.button.attlist">
        <xs:attributeGroup ref="xhtml.button.attlist">
            <xs:annotation>
                <xs:documentation>
            Original Button Attributes (in Forms Module)
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="xhtml.button.events.attlist">
            <xs:annotation>
                <xs:documentation>
           Redefinition by Event Attribute Module
         </xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:attributeGroup>
</xs:redefine>
<xs:include schemaLocation="xhtml-ruby-basic-1.xsd">
    <xs:annotation>
        <xs:documentation>
    Ruby module

    Elements defined here:
      * ruby, rbc, rtc, rb, rt, rp

    Note that either Ruby or Basic Ruby should be used but not both
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/2001/REC-ruby-20010531/#simple-ruby1"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-events-1.xsd">
    <xs:annotation>
        <xs:documentation>
    XHTML Events Modules

    Attributes defined here:
      XHTML Event Types
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_intrinsiceventsmodule"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-metaAttributes-1.xsd">
    <xs:annotation>
        <xs:documentation>
            XHTML Metainformation Modules
            
            Attributes defined here:
            XHTML RDFa attribtues
        </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/rdfa-syntax"/>
    </xs:annotation>
</xs:include>
<xs:include schemaLocation="xhtml-target-1.xsd">
    <xs:annotation>
        <xs:documentation>
    XHTML Target Attribute Module

    Attributes defined here:
      target
  </xs:documentation>
        <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_targetmodule"/>
    </xs:annotation>
</xs:include>

A.4 XHTML+RDFa XML Schema Driver Module

You can download this version of this file from <SCHEMA/xhtml-rdfa-2.xsd>. The latest version is available at http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd.

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/xhtml" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" xmlns="http://www.w3.org/1999/xhtml" elementFormDefault="qualified"> xs:annotation xs:documentation This is the XML Schema driver for XHTML + RDFa Please use this namespace for XHTML elements: "http://www.w3.org/1999/xhtml" $Id: xhtml-rdfa-1.xsd,v 1.2 2008/07/02 13:26:46 ahby Exp $ <xs:documentation source="xhtml-copyright-1.xsd"/> xs:annotation xs:documentation This is the Schema Driver file for XHTML + RDFa Document Type This schema + imports external schemas (xml.xsd) + refedines (and include)s schema modules for XHTML1.1 Document Type. + includes Schema for Named content model for the XHTML1.1 Document Type XHTML1.1 Document Type includes the following Modules XHTML Core modules (Required for XHTML Family Conformance) + text + hypertext + lists + structure Other XHTML modules + Edit + Bdo + Presentational + Link + Meta + Base + Scripting + Style + Image + Applet + Object + Param (Applet/Object modules require Param Module) + Tables + Forms + Client side image maps + Server side image maps + Ruby <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="" title="undefined" rel="noopener noreferrer">http://www.w3.org/2001/xml.xsd"> xs:annotation xs:documentation This import brings in the XML namespace attributes The XML attributes are used by various modules. <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/> <xs:include schemaLocation="xhtml-rdfa-model-2.xsd"> xs:annotation xs:documentation Document Model module for the XHTML+RDFa Document Type. This schema file defines all named models used by XHTML Modularization Framework for XHTML+RDFa Document Type <xs:include schemaLocation="xhtml-rdfa-modules-2.xsd"> xs:annotation xs:documentation Schema that includes all modules (and redefinitions) for XHTML1.1 Document Type. <xs:attributeGroup name="xhtml.a.attlist"> <xs:attributeGroup ref="xhtml.Common.attrib"/> <xs:attribute name="href" type="xh11d:URI"/> <xs:attribute name="charset" type="xh11d:Charset"/> <xs:attribute name="type" type="xh11d:ContentType"/> <xs:attribute name="hreflang" type="xh11d:LanguageCode"/> <xs:attribute name="accesskey" type="xh11d:Character"/> <xs:attribute name="tabindex" type="xh11d:Number"/> <xs:attributeGroup ref="xhtml.a.csim.attlist"> xs:annotation xs:documentation Redefinition by Client Side Image Map Module <xs:attributeGroup ref="xhtml.a.events.attlist"> xs:annotation xs:documentation Redefinition by XHTML Event Attribute Module <xs:attributeGroup ref="xhtml.a.target.attlist"> xs:annotation xs:documentation Target Module - A Attribute Additions <xs:group name="xhtml.a.content"> xs:sequence <xs:group ref="xhtml.InlNoAnchor.mix" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType name="xhtml.a.type" mixed="true"> <xs:group ref="xhtml.a.content"/> <xs:attributeGroup ref="xhtml.a.attlist"/> <xs:attributeGroup name="xhtml.link.attlist"> <xs:attributeGroup ref="xhtml.Common.attrib"/> <xs:attribute name="charset" type="xh11d:Charset"/> <xs:attribute name="href" type="xh11d:URI"/> <xs:attribute name="hreflang" type="xh11d:LanguageCode"/> <xs:attribute name="type" type="xh11d:ContentType"/> <xs:attribute name="media" type="xh11d:MediaDesc"/> <xs:group name="xhtml.link.content"> xs:sequence/ <xs:complexType name="xhtml.link.type"> <xs:group ref="xhtml.link.content"/> <xs:attributeGroup ref="xhtml.link.attlist"/> <xs:attributeGroup name="xhtml.meta.attlist"> <xs:attributeGroup ref="xhtml.I18n.attrib"/> <xs:attribute ref="xml:space"/> <xs:attribute name="http-equiv" type="xs:NMTOKEN"/> <xs:attribute name="name" type="xs:NMTOKEN"/> <xs:attribute name="content" type="xh11d:CDATA" use="required"/> <xs:attribute name="scheme" type="xh11d:CDATA"/> <xs:attribute name="about" type="xh11d:SafeCURIEorCURIEorIRI"/> <xs:attribute name="datatype" type="xh11d:TERMorCURIEoAbsIRI"/> <xs:attribute name="typeof" type="xh11d:TERMorCURIEoAbsIRIs"/> <xs:attribute name="prefix" type="xh11d:PREFIX"/> <xs:attribute name="property" type="xh11d:TERMorCURIEoAbsIRIs"/> <xs:attribute name="rel" type="xh11d:TERMorCURIEoAbsIRIs"/> <xs:attribute name="resource" type="xh11d:SafeCURIEorCURIEorIRI"/> <xs:attribute name="rev" type="xh11d:TERMorCURIEoAbsIRIs"/> <xs:attribute name="vocab" type="xs:anyURI"/> <xs:group name="xhtml.meta.content"> xs:sequence/ <xs:complexType name="xhtml.meta.type"> <xs:group ref="xhtml.meta.content"/> <xs:attributeGroup ref="xhtml.meta.attlist"/>

B. XHTML+RDFa Document Type Definition

This appendix includes an implementation of the XHTML+RDFa 1.1 language as an XML DTD. It is implemented by combining the XHTML 1.1 DTD with the XHTML Metainformation Attribute Module. This is done by using a content model module, and then a driver module. There are direct links to the various files for download purposes. Please note that the files targeted by the "latest version" links may change slowly over time. See the W3C XHTML2 Working Group home page for more information.

B.2 XHTML+RDFa Content Model Module

You can download this version of this file from <DTD/xhtml-rdfa-model-2.mod>. The latest version is available at http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-2.mod.

B.3 XHTML+RDFa Driver Module

You can download this version of this file from <DTD/xhtml-rdfa-2.dtd>. The latest version is available at http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd.

<![%xhtml-prefw-redecl.module;[ %xhtml-prefw-redecl.mod;

]]>

<![%xhtml-datatypes.module;[ %xhtml-datatypes.mod;]]>

<![%xhtml-metaAttributes.module;[ %xhtml-metaAttributes.mod;]]>

<![%xhtml-inlstyle.module;[ %xhtml-inlstyle.mod;]]>

<![%xhtml-framework.module;[ %xhtml-framework.mod;]]>

<![%xhtml-postfw-redecl.module;[ %xhtml-postfw-redecl.mod;

]]>

<![%xhtml-text.module;[ %xhtml-text.mod;]]>

<![%xhtml-hypertext.module;[ %xhtml-hypertext.mod;]]> <!ATTLIST %a.qname; %Common.attrib; charset %Charset.datatype; #IMPLIED type %ContentType.datatype; #IMPLIED hreflang %LanguageCode.datatype; #IMPLIED accesskey %Character.datatype; #IMPLIED tabindex %Number.datatype; #IMPLIED

<![%xhtml-list.module;[ %xhtml-list.mod;]]>

<![%xhtml-edit.module;[ %xhtml-edit.mod;]]>

<![%xhtml-bdo.module;[ %xhtml-bdo.mod;]]>

<![%xhtml-ruby.module;[ %xhtml-ruby.mod;]]>

<![%xhtml-pres.module;[ %xhtml-pres.mod;]]>

<![%xhtml-link.module;[ %xhtml-link.mod;]]>

<![%xhtml-meta.module;[ %xhtml-meta.mod;]]> <!ATTLIST %meta.qname; %Common.attrib; http-equiv NMTOKEN #IMPLIED name NMTOKEN #IMPLIED scheme CDATA #IMPLIED

<![%xhtml-base.module;[ %xhtml-base.mod;]]>

<![%xhtml-script.module;[ %xhtml-script.mod;]]>

<![%xhtml-style.module;[ %xhtml-style.mod;]]> <!ATTLIST %style.qname; %XHTML.xmlns.attrib; %id.attrib; %title.attrib; %I18n.attrib; %Metainformation.attrib; href %URI.datatype; #IMPLIED xml:space ( preserve ) #FIXED 'preserve' type %ContentType.datatype; #required media %MediaDesc.datatype; #IMPLIED

<![%xhtml-image.module;[ %xhtml-image.mod;]]>

<![%xhtml-csismap.module;[ %xhtml-csismap.mod;]]>

<![%xhtml-ssismap.module;[ %xhtml-ssismap.mod;]]>

<![%xhtml-param.module;[ %xhtml-param.mod;]]>

<![%xhtml-object.module;[ %xhtml-object.mod;]]>

<![%xhtml-table.module;[ %xhtml-table.mod;]]>

<![%xhtml-form.module;[ %xhtml-form.mod;]]>

<![%xhtml-target.module;[ %xhtml-target.mod;]]>

<![%xhtml-legacy.module;[ %xhtml-legacy.mod;]]>

<![%xhtml-struct.module;[ %xhtml-struct.mod;]]> <!ENTITY % XHTML.version.attrib "version %FPI.datatype; #FIXED '%XHTML.version;'"

B.4 SGML Open Catalog Entry for XHTML+RDFa

This section contains the SGML Open Catalog-format definition [SGML-CATALOG] of the public identifiers for XHTML+RDFa 1.1.

You can download this version of this file from <DTD/xhtml-rdfa.cat>. The latest version is available at http://www.w3.org/MarkUp/DTD/xhtml-rdfa.cat.

-- .......................................................................... -- -- File catalog ............................................................ --

-- XHTML+RDFa Catalog Data File

Revision:  <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>R</mi><mi>e</mi><mi>v</mi><mi>i</mi><mi>s</mi><mi>i</mi><mi>o</mi><mi>n</mi><mo>:</mo><mn>1.4</mn></mrow><annotation encoding="application/x-tex">Revision: 1.4 </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6833em;"></span><span class="mord mathnormal" style="margin-right:0.00773em;">R</span><span class="mord mathnormal">e</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span><span class="mord mathnormal">i</span><span class="mord mathnormal">s</span><span class="mord mathnormal">i</span><span class="mord mathnormal">o</span><span class="mord mathnormal">n</span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">:</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="base"><span class="strut" style="height:0.6444em;"></span><span class="mord">1.4</span></span></span></span>

See "Entity Management", SGML Open Technical Resolution 9401 for detailed
information on supplying and using catalog data. This document is available
from OASIS at URL:

    <http://www.oasis-open.org/html/tr9401.html>

--

-- .......................................................................... -- -- SGML declaration associated with XHTML .................................. --

OVERRIDE YES

SGMLDECL "xml1.dcl"

-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --

-- XHTML+RDFa modules .............................................. --

PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "xhtml-rdfa-2.dtd"

PUBLIC "-//W3C//ENTITIES XHTML+RDFa Document Model 1.1//EN" "xhtml-rdfa-model-2.mod"

PUBLIC "-//W3C//ENTITIES XHTML MetaAttributes 1.1//EN" "xhtml-metaAttributes-2.mod"

-- End of catalog data ..................................................... -- -- .......................................................................... --

C. Deployment Advice

This section is non-normative.

Documents written using the markup language defined in this specification can be validated using the DTD defined in Appendix B. If a document author wants to facilitate such validation, they may include the following declaration at the top of their document:

The XML Namespace document associated with the XHTML Family of markup languages uses the mechanism for transforming XHTML+RDFa documents into RDF as defined by [GRDDL]. Authors who want to be certain their documents are transformable by all [GRDDL] processors may also include a profile attribute on the head element that includes a reference to the RDFa Initial Context IRIhttp://www.w3.org/2011/rdfa-context/xhtml-rdfa-1.1.

D. Change History

This section is non-normative.

2010-02-25: First version of the split-out XHTML specialization.

E. Acknowledgments

This section is non-normative.

At the time of publication, the members of the RDF Web Applications Working Group were:

F. References