摘要

RDFa核心1.1[RDFA-核心]定义用于嵌入语义的属性和语法主机语言中的标记。本文件定义了一种主机语言。这种语言是XHTML 1.1的超集[XHTML 11-2e],集成RDFa中定义的属性核心1.1。本文档适用于希望创建嵌入丰富语义标记的XHTML系列文档。

本文件的状态

本节描述了本文档发布时的状态。其他文件可能取代本文件。当前的列表W3C公司出版物和本技术报告的最新版本可在W3C公司技术报告索引http://www.w3.org/TR/。

这是对2013年8月22日发布的建议.该文件是对RDFa语法1.0第8节、第9节和附录a的修订[RDFA-语法],取代这些章节。本版本与2008版本之间存在一些实质性差异,包括:

  1. 基本处理规则继承自[RDFA-核心].
  2. 包含标记语言的实现,使用XML架构。
  3. 添加@朗与最近的一致中的更改[XHTML 11-2e].
  4. 从本文件中删除术语集合-而不是推迟RDFa初始上下文文档中的定义。

A类样品测试线束可用。这组测试是并非详尽无遗。用户可能会发现测试是RDFa用法的有用示例。

这个执行情况报告董事用于过渡到建议书提供。没有人对本文件的出版提出正式反对。

本文件由RDFa工作组作为建议。如果您希望对本文件发表意见,请发送至公共rdfa@w3.org(订阅,档案).欢迎发表任何意见。

请参阅工作组的实施报告.

本文件已由W3C公司成员,由软件开发人员和其他W3C公司并由董事批准为W3C公司建议。这是一份稳定的文件,可以用作参考材料或从其他文件中引用文档。W3C公司在提出建议时,的作用是提请人们注意规范并促进其广泛部署。这增强了功能以及Web的互操作性。

本文件由一个在2004年2月5日W3C公司专利政策.W3C公司保持一个任何专利的公开清单披露与集团的可交付成果相关;该页面还包括披露专利的说明。对专利具有实际知识的个人个人认为包含基本索赔必须按照部分第6页W3C公司专利政策.

本文件受2005年10月14日W3C公司工艺文件.

目录

1介绍

XHTML+RDFa 1.1是一种XHTML系列标记语言。它扩展了XHTML 1.1标记具有RDFa Core 1.1中定义的属性的语言。该文档还定义了XHTML模块化兼容[XHTML模块化11-2e]RDFa核心模块XML DTD和XML模式格式的属性。

2一致性

以及标记为非规范的章节、所有创作指南、图表、示例、,本规范中的注释是非规范性的。本规范中的其他内容是规范。

关键词5月,必须、和应该解释如下[RFC2119协议].

2.1文件符合性

严格符合XHTML+RDFa的文档是指只需要本协议中所述的强制性设施规范。此类文件满足以下要求标准:

  1. 文件必须符合中的模式中表示的约束附录A-XHTML+RDFa XML模式附录B-XHTML+RDFa文档类型定义.

  2. 文档根元素的本地部分必须html格式.

  3. 文档根元素的开始标记必须明确地包含XHTML命名空间的默认命名空间声明[XML名称11].XHTML的命名空间URI定义为http://www.w3.org/1999/xhtml.

    开始标记5月还包含声明XML架构实例命名空间和XML架构实例schema位置属性[XMLSCHEMA11-2]. 这样属性将关联XHTML名称空间http://www.w3.org/1999/xhtmlXML架构位于URI(URI)http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd.

  4. 那里5月成为一名@版本属性html格式元素的值为“XHTML+RDFa 1.1”。
示例1:XHTML+RDFa 1.1文档示例
<?xml version=“1.0”encoding=“UTF-8”?><html格式 xmlns=“http://www.w3.org/1999/xhtml"版本=“XHTML+RDFa 1.1”xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation=“http://www.w3.org/1999/xhtmlhttp://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd"lang=“en”xml:lang=“en”><头部><title>虚拟库</头><body><p>已移至<a href=“http://example.org/“>example.org</a></p></body></html>

注意,在这个示例中,包含了XML声明。XML像上面这样的声明是并非所有XML文档都需要。XHTML文档作者应该在所有文档中使用XML声明。XHTML文档作者必须使用XML声明当文档的字符编码不是默认的UTF-8或UTF-16和高级协议没有指定编码。

XHTML+RDFa文档应该使用中定义的互联网媒体类型“application/xhtml+xml”标记[RFC3236协议]. 有关在XHTML系列标记语言中使用媒体类型的更多信息,请参阅信息注释[XHTML媒体类型].

2.2用户代理一致性

合格用户代理必须支持所需的所有功能在本规范中。合格的用户代理还必须支持XHTML模块化中定义的用户代理一致性要求[XHTML模块化11-2e]关于“XHTML系列用户代理”的部分一致性”。

三。其他RDFa处理规则

处理符合本规范规定的文件根据[RDFA-核心]具有以下扩展名:

当XHTML+RDFa文档使用@版本html格式元素,一致的RDFa处理器必须检查此属性的值。如果该值与定义的XHTML+RDFa版本的值匹配,则该版本的处理规则必须使用。如果值没有匹配定义的版本,或者没有@版本属性,然后是最新版本的处理规则必须使用XHTML+RDFa。

4XHTML+RDFa 1.1定义

XHTML+RDFa 1.1文档类型是一种功能齐全的文档类型具有丰富的语义。它是的超集[XHTML 11-2e].

XHTML+RDFa 1.1文档类型由以下XHTML模块组成。元件,属性以及与这些模块关联的内容模型在“XHTML模块化”中定义[XHTML模块化11-2e].此处列出的元素仅供参考,但定义XHTML模块化应该被视为权威。

结构模块
正文,标题,html,标题.
文本模块
缩写、首字母缩写、地址、方块引号、br、引文、代码、dfn、div、em、,h1,h2,h3,h4,h5,h6,kbd,p,pre,q,samp,span,strong,var
超文本模块
.@href公司在所有元素上都可用。
列出模块
dl、dt、dd、ol、ul、li
对象模块
对象,参数
演示模块
b、 大、hr、i、小、sub、sup、tt
编辑模块
del,英寸
双向文本模块
bdo公司
表单模块
按钮,字段集,窗体,输入,标签,图例,选择,操作组,选项,文本区域
表格模块
标题,列,列组,表,tbody,td,tfoot,th,head,tr
图像模块
国际货币基金组织
客户端图像映射模块
区域,地图
服务器端图像映射模块
属性ismap公司国际货币基金组织
内部事件模块
事件属性
元信息模块
脚本模块
noscript,脚本
样式表模块
风格要素
样式属性模块已弃用
@风格
目标模块
@目标
链接模块
链接
基础模块
基础
元信息属性模块
@关于,@内容,@数据类型,@在列表中,@类型,@前缀,@财产,@相对,@资源,@转速,@人声有可用的在所有元素上。
来自的Ruby注释模块[红宝石]
红宝石,红细胞,红细胞

本规范还增加了I18N属性中定义的属性集合[XHTML模块化11-2e]. 这个属性在中定义[HTML5].当此属性xml:lang属性在同一元素上指定xml:lang属性优先。当两者都发生时xml:lang在同一个元素上指定必须具有相同的值。

没有其他定义此文档类型所必需的。此文档类型的实现XML架构定义于附录A,作为XML DTD定义于附录B.

5元信息属性模块

元信息属性模块定义元信息属性集合按照要求的格式[XHTML模块化11-2e].此集合允许使用元数据对元素进行注释贯穿XHTML系列文档。包含此模块时在标记语言中,此集合已添加到通用属性集合的定义[XHTML模块化11-2e].

5.1元信息属性集合

属性集合中包括以下属性,以及获取关联数据类型中的值:

元信息属性集合
属性 笔记
关于(安全电流或电流或IRI)  
内容(CDATA(CDATA))  
数据类型(TERMOR电流或绝对值) 如果未指定,则默认值为一串定义见[XMLSCHEMA11-2].
在列表中(CDATA(CDATA))  
前缀(NCName:IRI)+  
财产(术语电流或绝对值)  
相对(术语电流或绝对值)
资源(安全电流或电流或IRI)  
转速(术语电流或绝对值)
类型(术语电流或绝对值)  
人声(爱尔兰共和国) 一个IRI,定义在没有前缀指定CURIE时要使用的前缀没有冒号。

XML模式中此模块的实现可以是在中找到附录A和中中的XML DTD附录B.

5.2XHTML RDFa初始上下文

本节不规范。

本规范定义了RDFa初始上下文。位于http://www.w3.org/2011/rdfa-context/xhtml-rdfa-1.1.

答:。XHTML+RDFa XML架构

本附录为规范性的.

本附录包括使用XML模式的XHTML+RDFa 1.1语言。它是通过结合XHTML 1.1模式来实现的使用XHTML元信息属性模块。这是通过使用内容模型模块,然后是驱动程序模块。有到各种文件的直接链接用于下载。请注意,“最新版本”链接指向的文件可能随着时间的推移变化缓慢。请参阅W3C公司 XHTML二级工作组主页了解更多信息信息。

A.1款XHTML元信息属性模块

您可以从以下位置下载此版本的文件方案/xhtml-metaAttributes-2.xsd。最新版本位于http://www.w3.org/MarkUp/SCHEMA/xhtml-metaAttributes-2.xsd.

<?xml version=“1.0”encoding=“UTF-8”?><xs:schema(模式)xmlns:xs=“http://www.w3.org/2001/XMLSchema(http://www.w3.org/2001/XMLSchema)" xmlns:xh11d=“http://www.w3.org/1999/xhtml/datatypes/"elementFormDefault=“合格”><xs:import namespace=“http://www.w3.org/1999/xhtml/datatypes/" schemaLocation=“xhtml-datatypes-1.xsd”/><xs:annotation><xs:documentation>这是XHTML的XML模式元信息属性模块$Id:Overview.html,版本1.3 2018/01/23 15:25:37 denis Exp$</xs:documentation><xs:documentation source=“xhtml-rdfa-copyright-1.xsd”/></xs:annotation><xs:annotation><xs:documentation>XHTML元信息属性</xs:documentation></xs:annotation><xs:attribute name=“about”type=“xh11d:SafeCURIOrCURIOrIRI”/><xs:attribute name=“content”type=“xh11d:CDATA”/><xs:attribute name=“datatype”type=“xh11d:TERMorCURIEoAbsIRI”/><xs:attribute name=“inlist”type=“xh11d:CDATA”/><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:SafeCURIOrCURIOrIRI”/><xs:attribute name=“rev”type=“xh11d:TERMorCURIEoAbsIRIs”/><xs:attribute name=“vocab”type=“xs:anyURI”/><xs:attributeGroup name=“xhtml.metaAttributes.attrib”><xs:attribute name=“about”/><xs:attribute name=“content”/><xs:attribute name=“datatype”/><xs:attribute name=“inlist”/><xs:attribute name=“typeof”/><xs:attribute name=“prefix”/><xs:attribute name=“property”/><xs:attribute name=“rel”/><xs:attribute name=“resource”/><xs:attribute name=“rev”/><xs:attribute name=“vocab”/></xs:attributeGroup>属性组</xs:schema>

A.2款XHTML+RDFa架构内容模型模块

您可以从以下位置下载此版本的文件方案/xhtml-rdfa-model-2.xsd。最新版本位于http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-model-2.xsd.

<?xml version=“1.0”encoding=“UTF-8”?><xs:schema(模式)xmlns:xs=“http://www.w3.org/2001/XMLSchema(http://www.w3.org/2001/XMLSchema)"xmlns:xh11d=“http://www.w3.org/1999/xhtml/datatypes/"elementFormDefault=“合格”><xs:import(导入)namespace=“http://www.w3.org/1999/xhtml/datatypes/"schemaLocation=“xhtml-datatypes-1.xsd”/><xs:annotation><xs:documentation>这是XHTML11通用内容模型的XML模式模块$Id:Overview.html,v 1.3 2018/01/23 15:25:37丹尼斯Exp$</xs:documentation><xs:documentation source=“xhtml版权所有-1.xsd”/></xs:annotation><xs:annotation><xs:documentation>XHTML文档模型本模块描述了元素/属性的分组它们构成了XHTML元素的通用内容模型。XHTML有以下基本内容模型:xhtml。内联.mix;字符级元素xhtml。块.mix;块状元素,例如段落和列表xhtml。流量.mix;任何块或内联元素xhtml。HeadOpts.mix;头部元件xhtml。InlinePre.mix;预内容模型的特殊类xhtml。内联无锚.mix;锚定的内容模型此模块中声明的任何组都可以用于创建元素内容模型,但以上内容被视为“全局”(在该术语适用的范围内)。XHTML具有以下属性组xhtml。核心.额外属性xhtml。I18n.额外属性xhtml。通用.extra上述属性组被视为全局</xs:documentation></xs:annotation><xs:include schemaLocation=“xhtml-metaAttributes-2.xsd”><xs:annotation><xs:documentation>XHTML元信息模块此处定义的属性:XHTML RDFa属性</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>扩展I18n属性</xs:annotation><xs:attributeGroup(属性组)ref=“xhtml.dir.attrib”><xs:annotation><xs:documentation>双向文本(bdo)模块的“dir”属性</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup(属性组)name=“xhtml.Common.extra”><xs:annotation>扩展通用属性</xs:annotation><xs:attributeGroup(属性组)ref=“xhtml.style.attrib”><xs:annotation><xs:documentation>内联样式模块的“样式”属性</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.Events.attrib”><xs:annotation><xs:documentation>事件模块的属性</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.metaAttributes.attrib”><xs:annotation><xs:documentation>元信息模块的属性</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup(属性组)name=“xhtml.Core.extra.attrib”><xs:annotation>扩展核心属性</xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup(属性组)name=“xhtml.Global.core.extrat.attrib”><xs:annotation>扩展的全球核心属性</xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup(属性组)name=“xhtml.Global.I18n.extra.attrib”><xs:annotation>扩展的全局I18n属性</xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup(属性组)name=“xhtml.Global.Common.extra”><xs:annotation>扩展的全局通用属性</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=“脚本"type=“xhtml.script.type”/><xs:element name=“风格"type=“xhtml.style.type”/><xs:element name=“"type=“xhtml.meta.type”/><xs:element name=“链接"type=“xhtml.link.type”/><xs:element name=“对象"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”最小发生次数=“0”maxOccurs=“unbounded”/><xs:choice><xs:sequence><xs:element name=“标题"最小发生次数=“1”maxOccurs=“1”type=“xhtml.title.type”/><xs:group(组别)ref=“xhtml.HeadOpts.mix”最小发生次数=“0”maxOccurs=“unbounded”/><xs:sequence(序列)最小发生次数=“0”><xs:element name=“基础"type=“xhtml.base.type”/><xs:group(组别)ref=“xhtml.HeadOpts.mix”最小发生次数=“0”maxOccurs=“unbounded”/></xs:sequence(序列)></xs:sequence(序列)><xs:sequence><xs:element name=“基础"type=“xhtml.base.type”最小发生次数=“1”最大发生次数=“1”/><xs:group(组别)ref=“xhtml.HeadOpts.mix”最小发生次数=“0”maxOccurs=“unbounded”/><xs:element name=“标题"最小发生次数=“1”maxOccurs=“1”type=“xhtml.title.type”/><xs:group(组别)ref=“xhtml.HeadOpts.mix”最小发生次数=“0”maxOccurs=“unbounded”/></xs:sequence(序列)></xs:choice></xs:sequence(序列)></xs:group><!--ins和del用于表示编辑更改--><xs:group(组别)name=“xhtml.Edit.class”><xs:choice><xs:element name=“英寸"type=“xhtml.edit.type”/><xs:element name=“德尔"type=“xhtml.edit.type”/></xs:choice></xs:group><!--script和noscript用于包含脚本和替代内容--><xs:group(组别)name=“xhtml.Script.class”><xs:choice><xs:element name=“脚本"type=“xhtml.script.type”/><xs:element name=“乔治·毛内"type=“xhtml.noscript.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.Misc.extra”><xs:sequence/></xs:group><!--这些元素既不是块也不是内联的,并且可以基本上可以在文档体中的任何位置使用。--><xs:group(组别)name=“xhtml.Misc.class”><xs:choice><xs:group(组别)ref=“xhtml.Edit.class”/><xs:group(组别)ref=“xhtml.Script.class”/><xs:group(组别)ref=“xhtml.其他额外”/></xs:choice></xs:group><!-- 内联元素--><xs:group(组别)name=“xhtml.InlStruct.class”><xs:choice><xs:element name=“br个"type=“xhtml.br.type”/><xs:element name=“跨度"type=“xhtml.span.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.InlPhras.class”><xs:choice><xs:element name=“相对长度单位"type=“xhtml.em.type”/><xs:element name=“坚强的"type=“xhtml.strong.type”/><xs:element name=“数据流网络"type=“xhtml.dfn.type”/><xs:element name=“代码"type=“xhtml.code.type”/><xs:element name=“样品"type=“xhtml.samp.type”/><xs:element name=“千桶/天"type=“xhtml.kbd.type”/><xs:element name=“变量"type=“xhtml.var.type”/><xs:element name=“引用"type=“xhtml.cite.type”/><xs:element name=“阿伯"type=“xhtml.abbr.type”/><xs:element name=“首字母缩略词"type=“xhtml.acrombit.type”/><xs:element name=“"type=“xhtml.q.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.InlPres.class”><xs:choice><xs:element name=“tt公司"type=“xhtml.InlPres.type”/><xs:element name=“"type=“xhtml.InlPres.type”/><xs:element name=“b"type=“xhtml.InlPres.type”/><xs:element name=“大的"type=“xhtml.InlPres.type”/><xs:element name=“小的"type=“xhtml.InlPres.type”/><xs:element name=“附属的"type=“xhtml.InlPres.type”/><xs:element name=“啜饮"type=“xhtml.InlPres.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.I18n.class”><xs:sequence><xs:element name=“bdo公司"type=“xhtml.bdo.type”/></xs:sequence(序列)></xs:group><xs:group(组别)name=“xhtml.Anchor.class”><xs:sequence><xs:element name=“"type=“xhtml.a.type”/></xs:sequence(序列)></xs:group><xs:group(组别)name=“xhtml.InlSpecial.class”><xs:choice><xs:element name=“国际货币基金组织"type=“xhtml.img.type”/><xs:element name=“地图"type=“xhtml.map.type”/><xs:element name=“对象"type=“xhtml.object.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.InlForm.class”><xs:choice><xs:element name=“输入"type=“xhtml.input.type”/><xs:element name=“选择"type=“xhtml.select.type”/><xs:element name=“文本区域"type=“xhtml.textarea.type”/><xs:element name=“标签"type=“xhtml.label.type”/><xs:element name=“按钮"type=“xhtml.button.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.Inline.extra”><xs:sequence/></xs:group><xs:group(组别)name=“xhtml.Ruby.class”><xs:sequence><xs:element name=“红宝石"type=“xhtml.ruby.type”/></xs:sequence(序列)></xs:group><!--Inline.class包含所有内联元素,用作混合物中的成分--><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:choice></xs:group><!--InlNoRuby.class包含所有内联元素除了红宝石--><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:choice></xs:group><!--InlinePre.mix中用作预建模中的组件--><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=“"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=“地图"type=“xhtml.map.type”/><xs:group(组别)ref=“xhtml.Inline.extra”/></xs:choice></xs:group><!--InlNoAnchor.class包括所有非锚点内联,用作混合物中的成分--><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:choice></xs:group><!--InlNoAnchor.mix包括所有非定位内联线--><xs:group(组别)name=“xhtml.InlNoAnchor.mix”><xs:choice><xs:group(组别)ref=“xhtml.InlNoAnchor.class”/><xs:group(组别)ref=“xhtml.Misc.class”/></xs:choice></xs:group><!--Inline.mix包括所有内联元素,包括Misc.class--><xs:group(组别)name=“xhtml.Inline.mix”><xs:choice><xs:group(组别)ref=“xhtml.Inline.class”/><xs:group(组别)ref=“xhtml.Misc.class”/></xs:choice></xs:group><!--InlNoRuby.mix包含所有inline.mix元素除了红宝石--><xs:group(组别)name=“xhtml.InlNoRuby.mix”><xs:choice><xs:group(组别)ref=“xhtml.InlNoRuby.class”/><xs:group(组别)ref=“xhtml.Misc.class”/></xs:choice></xs:group><!--在HTML 4 DTD中,包含了标题和列表元素在块组中。Heading.类和现在必须显式包含List.class组在所需的元素声明上。--><xs:group(组别)name=“xhtml.Heading.class”><xs:choice><xs:element name=“小时1"type=“xhtml.h1.type”/><xs:element name=“氢气"type=“xhtml.h2.type”/><xs:element name=“小时3"type=“xhtml.h3.type”/><xs:element name=“小时4"type=“xhtml.h4.type”/><xs:element name=“小时5"type=“xhtml.h5.type”/><xs:element name=“小时6"type=“xhtml.h6.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.List.class”><xs:choice><xs:element name=“ul公司"type=“xhtml.ul.type”/><xs:element name=“ol公司"type=“xhtml.ol.type”/><xs:element name=“数字图书馆"type=“xhtml.dl.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.Table.class”><xs:choice><xs:element name=“桌子"type=“xhtml.table.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.Form.class”><xs:choice><xs:element name=“形式"type=“xhtml.form.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.Fieldset.class”><xs:choice><xs:element name=“字段集"type=“xhtml.fieldset.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.BlkStruct.class”><xs:choice><xs:element name=“第页"type=“xhtml.p.type”/><xs:element name=“分区"type=“xhtml.div.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.BlkPhras.class”><xs:choice><xs:element name=“之前"type=“xhtml.pre.type”/><xs:element name=“块引用"type=“xhtml.blockquote.type”/><xs:element name=“地址"type=“xhtml.address.type”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.BlkPres.class”><xs:sequence><xs:element name=“小时"type=“xhtml.hr.type”/></xs:sequence(序列)></xs:group><xs:group(组别)name=“xhtml.BlkSpecial.class”><xs:choice><xs:group(组别)ref=“xhtml.Table.class”/><xs:group(组别)ref=“xhtml.Form.class”/><xs:group(组别)ref=“xhtml.Fieldset.class”/></xs:choice></xs:group><xs:group(组别)name=“xhtml.Block.extra”><xs:sequence/></xs:group><!--Block.class包括所有块元素,用作混合物中的成分--><xs:group(组别)name=“xhtml.Block.class”><xs:choice><xs:group(组别)ref=“xhtml.BlkStruct.class”/><xs:group(组别)ref=“xhtml.BlkPhras.class”/><xs:group(组别)ref=“xhtml.BlkPres.class”/><xs:group(组别)ref=“xhtml.BlkSpecial.class”/><xs:group(组别)ref=“xhtml.Block.extra”/></xs:choice></xs:group><!--Block.mix包括所有块元素加上%Misc.class;--><xs:group(组别)name=“xhtml.Block.mix”><xs:choice><xs:group(组别)ref=“xhtml.Heading.class”/><xs:group(组别)ref=“xhtml.List.class”/><xs:group(组别)ref=“xhtml.Block.class”/><xs:group(组别)ref=“xhtml.Misc.class”/></xs:choice></xs:group><!--所有内容元素Flow.mix包括所有文本内容、块和内联请注意,此处包含的“any”元素允许我们要从任何其他名称空间添加数据用于创建复合文档。但请注意,无法添加无需进一步修改。向头部添加RDF元数据修改文档的结构模块。--><xs:group(组别)name=“xhtml.Flow.mix”><xs:choice><xs:group(组别)ref=“xhtml.Heading.class”/><xs:group(组别)ref=“xhtml.List.class”/><xs:group(组别)ref=“xhtml.Block.class”/><xs:group(组别)ref=“xhtml.Inline.class”/><xs:group(组别)ref=“xhtml.Misc.class”/></xs:choice></xs:group><!--BlkNoForm.mix包括所有非格式块元素,加上其他类别--><xs:group(组别)name=“xhtml.BlkNoForm.mix”><xs:choice><xs:group(组别)ref=“xhtml.Heading.class”/><xs:group(组别)ref=“xhtml.List.class”/><xs:group(组别)ref=“xhtml.BlkStruct.class”/><xs:group(组别)ref=“xhtml.BlkPhras.class”/><xs:group(组别)ref=“xhtml.BlkPres.class”/><xs:group(组别)ref=“xhtml.Table.class”/><xs:group(组别)ref=“xhtml.Block.extra”/><xs:group(组别)ref=“xhtml.Misc.class”/></xs:choice></xs:group><xs:element name=“html格式"type=“xhtml.html.type”/></xs:schema>

答3XHTML+RDFa架构模块

您可以从以下位置下载此版本的文件SCHEMA/xhtml-rdfa-模块-2.xsd。最新版本位于http://www.w3.org/MarkUp/SCHEMA/xhtml rdfa模块-2.xsd.

<?xml version=“1.0”encoding=“UTF-8”?><xs:schema xmlns:xs=“http://www.w3.org/2001/XMLSchema(http://www.w3.org/2001/XMLSchema)" elementFormDefault=“合格”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(http://www.w3.org/XML/1998/namespace)"schemaLocation=“http://www.w3.org/2001/xml.xsd"/><xs:annotation><xs:documentation>此模式包括XHTML1.1文档类型的所有模块。$Id:Overview.html,版本1.3 2018/01/23 15:25:37 denis Exp$</xs:documentation><xs:documentation source=“xhtml版权所有-1.xsd”/></xs:annotation><xs:annotation><xs:documentation>此模式包括所有模块(和重新定义)用于XHTML 1.1文档类型。XHTML1.1文档类型包括以下模块XHTML核心模块(XHTML系列一致性所需)+文本+超文本+列表+结构其他XHTML模块+编辑+比多+演示+链接+Meta公司+底座+编写脚本+样式+图像+小程序+对象+参数(小程序/对象模块需要参数模块)+表格+目标+表格+客户端图像映射+服务器端图像映射</xs:documentation></xs:annotation><xs:include schemaLocation=“xhtml-framework-1.xsd”><xs:annotation><xs:documentation>架构框架组件模块:+符号+数据类型+通用属性+字符实体</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_commonatts网站"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-text-1.xsd”><xs:annotation><xs:documentation>文本模块Text模块包括所有核心的声明文本容器元素及其属性。+方块短语+块状结构+内联短语+内嵌式结构此处定义的元素:*地址,方块引号,pre,h1,h2,h3,h4,h5,h6*div,第*缩写,缩写,引用,代码,dfn,em,kbd,q,samp,strong,var*br,span</xs:documentation><xs:documentation source=“http://www.w3.org/TR/2001/REC-xhtml-modulezation-20010410/abstract_modules.html#s_textmodule"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-list-1.xsd”><xs:annotation><xs:documentation>列出模块此处定义的元素:*dt、dd、dl、ol、ul、li</xs:documentation><xs:documentation source=“http://www.w3.org/TR/2001/REC-xhtml-modulezation-20010410/abstract_modules.html#s_listmodule"/></xs:annotation></xs:include><xs:redefine schemaLocation=“xhtml-struct-1.xsd”><xs:annotation><xs:documentation>结构模块此处定义的元素:*标题、标题、正文、html</xs:documentation><xs:documentation source=“http://www.w3.org/TR/2001/REC-xhtml-modulezation-20010410/abstract_modules.html#s_structuremodule网站"/></xs:annotation><xs:attributeGroup name=“xhtml.version.attrib”><xs:annotation><xs:documentation>由XHTML 11标记重新定义(用于版本属性的值)</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>原始身体着装清单</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.body.events.attlist”><xs:annotation><xs:documentation>XHTML事件属性模块的重新定义</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>编辑模块此处定义的元素:*ins、del</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_editmodule网站"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-bdo-1.xsd”><xs:annotation><xs:documentation>双向元件模块此处定义的元素:*bdo公司</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_bdomodule"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-pres-1.xsd”><xs:annotation><xs:documentation>演示模块此处定义的元素:*hr、b、big、i、small、sub、sup、tt</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_presentationmodule网站"/></xs:annotation></xs:include><xs:redefine schemaLocation=“xhtml-base-1.xsd”><xs:annotation><xs:documentation>基本模块此处定义的元素:*底座</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_basemodule网站"/></xs:annotation><xs:attributeGroup name=“xhtml.base.attlist”><xs:annotation><xs:documentation>对XHTML基本属性列表的更改</xs:documentation></xs:annotation><xs:attributeGroup ref=“xhtml.base.attlist”><xs:annotation><xs:documentation>原始基本属性(在基本模块中声明)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.base.target.attlist”><xs:annotation><xs:documentation>XHTML目标模块-属性添加</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组</xs:redefine(重新定义)><xs:include schemaLocation=“xhtml-script-1.xsd”><xs:annotation><xs:documentation>脚本模块此处定义的元素:*脚本,noscript</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml模块化/abstract_modules.html#s_scriptmodule"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-style-1.xsd”><xs:annotation><xs:documentation>Style模块此处定义的元素:*风格</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_stylemodule"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-instyle-1.xsd”><xs:annotation><xs:documentation>样式属性模块此处定义的属性:*风格</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_styleattributemodule"/></xs:annotation></xs:include><xs:redefine schemaLocation=“xhtml-image-1.xsd”><xs:annotation><xs:documentation>图像模块此处定义的元素:*国际货币基金组织</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_imagemodule"/></xs:annotation><xs:attributeGroup name=“xhtml.img.attlist”><xs:attributeGroup ref=“xhtml.img.attlist”><xs:annotation><xs:documentation>原始图像属性(在图像模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.img.csim.attlist”><xs:annotation><xs:documentation>通过客户端图像映射模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.img.ssimap.attlist”><xs:annotation><xs:documentation>服务器端映像模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组</xs:redefine(重新定义)><xs:redefine schemaLocation=“xhtml-csismap-1.xsd”><xs:annotation><xs:documentation>客户端图像映射模块此处定义的元素:*区域,地图</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_imapmodule网站"/></xs:annotation><xs:attributeGroup name=“xhtml.area.attlist”><xs:attributeGroup ref=“xhtml.areat.attlist”><xs:annotation><xs:documentation>原始区域属性(在CSI模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.area.events.attlist”><xs:annotation><xs:documentation>按事件重新定义属性模块</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.area.target.attlist”><xs:annotation><xs:documentation>目标模块-区域属性添加</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组</xs:redefine(重新定义)><xs:include schemaLocation=“xhtml-ssismap-1.xsd”><xs:annotation><xs:documentation>服务器端图像映射模块此处定义的属性:*img上的ismap</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_servermapmodule"/></xs:annotation></xs:include><xs:redefine schemaLocation=“xhtml-object-1.xsd”><xs:annotation><xs:documentation>对象模块此处定义的元素:*对象</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_objectmodule"/></xs:annotation><xs:attributeGroup name=“xhtml.object.attlist”><xs:attributeGroup ref=“xhtml.object.attlist”><xs:annotation><xs:documentation>原始对象属性列表</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.object.csim.attlist”><xs:annotation><xs:documentation>通过客户端图像映射模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组</xs:redefine(重新定义)><xs:include schemaLocation=“xhtml-param-1.xsd”><xs:annotation><xs:documentation>参数模块此处定义的元素:*参数</xs:documentation></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-table-1.xsd”><xs:annotation><xs:documentation>表格模块此处定义的元素:*表格,标题,标题,tfoot,tbody,列组,列,tr,th,td</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_tablemodule网站"/></xs:annotation></xs:include><xs:redefine schemaLocation=“xhtml-form-1.xsd”><xs:annotation><xs:documentation>表单模块此处定义的元素:*表单,标签,输入,选择,操作组,选项,*文本区域,字段集,图例,按钮</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_extformsmodule"/></xs:annotation><xs:attributeGroup name=“xhtml.form.attlist”><xs:annotation><xs:documentation>对XHTML表单附件列表的更改</xs:documentation></xs:annotation><xs:attributeGroup ref=“xhtml.form.attlist”><xs:annotation><xs:documentation>原始表单属性(在表单模块中声明)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.form.events.attlist”><xs:annotation><xs:documentation>XHTML事件模块-属性添加</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.form.target.attlist”><xs:annotation><xs:documentation>XHTML目标模块-属性添加</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup name=“xhtml.input.attlist”><xs:annotation><xs:documentation>对XHTML表单输入元素的更改</xs:documentation></xs:annotation><xs:attributeGroup ref=“xhtml.input.attlist”><xs:annotation><xs:documentation>原始输入属性(在表单模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.input.csim.attlist”><xs:annotation><xs:documentation>通过客户端图像映射模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.input.ssimap.attlist”><xs:annotation><xs:documentation>服务器端图像映射模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.input.events.attlist”><xs:annotation><xs:documentation>事件属性模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup name=“xhtml.label.attlist”><xs:attributeGroup ref=“xhtml.label.attlist”><xs:annotation><xs:documentation>原始标签属性(在表单模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.label.events.attlist”><xs:annotation><xs:documentation>事件属性模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup name=“xhtml.select.attlist”><xs:attributeGroup ref=“xhtml.select.attlist”><xs:annotation><xs:documentation>原始选择属性(在表单模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.select.events.attlist”><xs:annotation><xs:documentation>事件属性模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup name=“xhtml.textarea.attlist”><xs:attributeGroup ref=“xhtml.textarea.attlist”><xs:annotation><xs:documentation>原始文本区域属性(在窗体模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.textarea.events.attlist”><xs:annotation><xs:documentation>事件属性模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:attributeGroup name=“xhtml.button.attlist”><xs:attributeGroup ref=“xhtml.button.attlist”><xs:annotation><xs:documentation>原始按钮属性(在表单模块中)</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.button.events.attlist”><xs:annotation><xs:documentation>事件属性模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组</xs:redefine(重新定义)><xs:include schemaLocation=“xhtml-ruby-basic-1.xsd”><xs:annotation><xs:documentation>Ruby模块此处定义的元素:*ruby、rbc、rtc、rb、rt、rp注意,应该使用Ruby或Basic Ruby,但不能同时使用两者</xs:documentation><xs:documentation source=“http://www.w3.org/TR/2001/REC-ruby-20010531/#simple-红色1“/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-events-1.xsd”><xs:annotation><xs:documentation>XHTML事件模块此处定义的属性:XHTML事件类型</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_intrinsic事件模块"/></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-metaAttributes-1.xsd”><xs:annotation><xs:documentation>XHTML元信息模块此处定义的属性:XHTML RDFa属性</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目标属性模块此处定义的属性:目标</xs:documentation><xs:documentation source=“http://www.w3.org/TR/xhtml-modulezation/abstract_modules.html#s_targetmodule网站"/></xs:annotation></xs:include></xs:schema>

A.4款XHTML+RDFa XML模式驱动程序模块

您可以从以下位置下载此版本的文件方案/xhtml-rdfa-2.xsd。最新版本位于http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd.

<?xml version=“1.0”encoding=“UTF-8”?><xs:schema xmlns:xs=“http://www.w3.org/2001/XMLSchema(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=“合格”><xs:annotation><xs:documentation>这是XHTML+RDFa的XML模式驱动程序请使用此命名空间对于XHTML元素:“http://www.w3.org/1999/xhtml“$Id:xhtml-rdfa-1.xsd,版本1.22008/07/02 13:26:46 ahby实验$<xs:documentation source=“xhtml版权所有-1.xsd”/></xs:annotation><xs:annotation><xs:documentation>这是XHTML+RDFa文档类型的模式驱动程序文件此模式+导入外部模式(xml.xsd)+refedines(和include)的模式模块XHTML 1.1文档类型+包括XHTML1.1的命名内容模型的架构文档类型XHTML 1.1文档类型包括以下模块XHTML核心模块(XHTML系列一致性要求)+文本+超文本+列表+结构其他XHTML模块+编辑+Bdo+演示+链接+元+基础+脚本+样式+图像+小程序+对象+参数(小程序/对象模块需要参数模块)+表+Forms+客户端图像映射+服务器端图像映射+Ruby</xs:documentation></xs:annotation><xs:import namespace=“http://www.w3.org/XML/1998/namespace(http://www.w3.org/XML/1998/namespace)"schemaLocation=“http://www.w3.org/2001/xml.xsd"><xs:annotation><xs:documentation>此导入引入了XML命名空间属性XML属性由各个模块使用</xs:documentation></xs:annotation></xs:import><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>XHTML+RDFa文档类型的<xs:documentation>Document Model模块。此架构该文件定义了XHTML+RDFa的XHTML模块化框架使用的所有命名模型文档类型</xs:documentation></xs:annotation></xs:include><xs:include schemaLocation=“xhtml-rdfa-modules-2.xsd”><xs:annotation>包含XHTML 1.1的所有模块(和重定义)的模式文档类型</xs:documentation></xs:annotation></xs:include><!-- 链接、元数据和需要在此处直接定义--><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>通过客户端图像映射模块重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.a.events.attlist”><xs:annotation><xs:documentation>XHTML事件属性模块的重新定义</xs:documentation></xs:annotation></xs:attributeGroup>属性组<xs:attributeGroup ref=“xhtml.a.target.attlist”><xs:annotation><xs:documentation>目标模块-A属性添加</xs:documentation></xs:annotation></xs:attributeGroup>属性组</xs:attributeGroup>属性组<xs:group name=“xhtml.a.content”><xs:sequence><xs:group ref=“xhtml.InlNoAnchor.mix”minOccurs=“0”maxOccurs=“unbounded”/></xs:sequence(序列)></xs:group><xs:complexType name=“xhtml.a.type”mixed=“true”><xs:group ref=“xhtml.a.content”/><xs:attributeGroup ref=“xhtml.a.attlist”/></xs:complexType><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:attributeGroup>属性组<xs:group name=“xhtml.link.content”><xs:sequence/></xs:group><xs:complexType name=“xhtml.link.type”><xs:group ref=“xhtml.link.content”/><xs:attributeGroup ref=“xhtml.link.attlist”/></xs:complexType><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:SafeCURIOrCURIOrIRI”/><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:SafeCURIOrCURIOrIRI”/><xs:attribute name=“rev”type=“xh11d:TERMorCURIEoAbsIRIs”/><xs:attribute name=“vocab”type=“xs:anyURI”/></xs:attributeGroup>属性组<xs:group name=“xhtml.meta.content”><xs:sequence/></xs:group><xs:complexType name=“xhtml.meta.type”><xs:group ref=“xhtml.meta.content”/><xs:attributeGroup ref=“xhtml.meta.attlist”/></xs:complexType></xs:schema>

B。XHTML+RDFa文档类型定义

本附录包括XHTML+RDFa 1.1语言作为XML DTD。它是通过结合XHTML 1.1 DTD来实现的使用XHTML元信息属性模块。这是通过使用内容模型模块,然后是驱动程序模块。有到各种文件的直接链接用于下载。请注意,“最新版本”链接指向的文件可能随着时间的推移变化缓慢。请参阅W3C公司 XHTML二级工作组主页了解更多信息信息。

B.1节XHTML元信息属性模块

您可以从以下位置下载此版本的文件DTD/xhtml-meta属性-2.mod。最新版本位于http://www.w3.org/MarkUp/DTD/xhtml-metaAttributes-2.mod网站.

<!-- ...................................................................... --><!-- XHTML元属性模块<!-- 文件:xhtml-metaAttributes-1.mod这是XHTML-RDFa,用于注释XHTML系列文档的模块。版权所有2007-2008 W3C(MIT,ERCIM,Keio),保留所有权利。版本:$Id:Overview.html,v 1.3 2018/01/23 15:25:37 denis Exp$此DTD模块由PUBLIC和SYSTEM标识符标识:PUBLIC“-//W3C//ENTITIES XHTML MetaAttributes 1.0//EN”系统”http://www.w3.org/MarkUp/DTD/xhtml-metaAttributes-1.mod"修订:(无)....................................................................... --><!实体%XHTML.global.attrs.前缀“忽略”><!-- 占位符压缩URI相关类型--><!实体%CURIE.数据类型“CDATA”><!实体%CURIEs.数据类型“CDATA”><!实体%CURIEorIRI.数据类型“CDATA”><!实体%CURIE或IRIs.数据类型“CDATA”><!实体%IRI.数据类型“CDATA”><!实体%IRIs.数据类型“CDATA”><!实体%前缀.数据类型“CDATA”><!实体%安全CURIE或CURIE或IRI.datatype“CDATA”><!实体%SafeCURIE或CURIE或IRIs.datatype“CDATA”><!实体%TERMorCURIE或AbsiRI.数据类型“CDATA”><!实体%TERMorCURIE或AbsIRIs.数据类型“CDATA”><!-- 通用属性此模块声明与元信息相关的集合属性。%NS.decl.attrib;在XHTML Qname模块中声明。该文件还包括属性。属性的全局版本用于其他命名空间中的元素。--><!实体%关于属性“关于%SafeCURIOrCURIOrIRI.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球搜索属性“%XHTML.prefix;:关于%SafeCURIOrCURIOrIRI.datatype;#IMPLIED”>]]><!实体%属性类型“%TERMorCURIE或AbsIRIs.datatype;#IMPLIED的类型”><![%XHTML.global.attrs.prefixed[<!实体%XHTML.global.属性类型“%XHTML.prefix;:%TERMorCURIE或AbsiRIs.datatype;#IMPLIED的类型”>]]><!实体%属性属性“属性%TERMorCURIOrAbsIRIs.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全局属性属性“%XHTML.prefix;:属性%TERMorCURIEorAbsIRIs.datatype;#IMPLIED”>]]><!实体%资源属性“资源%SafeCURIOrCURIOrIRI.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球资源属性“%XHTML.prefix;:资源%SafeCURIOrCURIOrIRI.datatype;#IMPLIED”>]]><!实体%内容属性“内容CDATA#隐含”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球内容属性“%XHTML.prefix;:内容CDATA#隐含”>]]><!实体%数据类型属性“数据类型%TERMorCURIEorAbsIRI.datatype;#隐含”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球数据类型属性“%XHTML.prefix;:数据类型%TERMorCURIEorAbIRI.datatype;#隐含”>]]><!实体%inlist.attrib中“inlist CDATA#隐含”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球信息列表属性“%XHTML.prefix;:inlist CDATA#隐含”>]]><!实体%相对属性“rel%TERMorCURIOrAbsIRIs.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML.全局.rel.attrib“%XHTML.prefix;:rel%TERMorCURIOrAbsIRIs.datatype;#IMPLIED”>]]><!实体%修订属性“rev%TERMorCURIEorAbsIRIs.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML.全局.rev.attrib“%XHTML.prefix;:rev%TERMorCURIEorAbsIRIs.datatype;#IMPLIED”>]]><!实体%前缀attrib“前缀%prefix.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球.prefex.attrib“%XHTML.prefix;:prefix%prefix.datatype;#IMPLIED”>]]><!实体%声音属性“vocab%IRI.datatype;#IMPLIED”><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球.vocab.attrib“%XHTML.prefix;:vocab%IRI.datatype;#IMPLIED”>]]><!实体%元信息.extra.attrib"" ><!实体%元信息属性“%about.attrib;%内容属性;%数据类型属性;%inlist.attrib;%attrib类型;%前缀attrib;%属性属性;%相对属性;%资源属性;%修订版;%vocab.attrib;%元信息.extra.attrib;"><!实体%XHTML.global.详细信息.extra.attrib"" ><![%XHTML.global.attrs.prefixed[<!实体%XHTML全球信息属性“%XHTML.global.about.attrib;%XHTML.global.content.attrib;%XHTML全球数据类型属性;%XHTML.global.inlist.attrib;%XHTML.global.typeof.attrib;%XHTML.global.prefix.attrib;%XHTML全球属性属性;%XHTML.全局.rel.attrib;%XHTML全球资源属性;%XHTML全球修订版属性;%XHTML.global.vocab.attrib;%XHTML.global.详细信息.extra.attrib;">]]><!实体%XHTML全球信息属性"" ><!-- xhtml-metaAttributes-1.mod-->结束

B.2节XHTML+RDFa内容模型模块

您可以从以下位置下载此版本的文件DTD/xhtml-rdfa-型号-2.mod。最新版本位于http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-2.mod.

<!-- ....................................................................... --><!-- XHTML+RDFa文档模型模块<!-- 文件:xhtml-rdfa-model-2mod这是XHTML+RDFa。版权所有1998-2010 W3C(MIT,ERCIM,Keio),保留所有权利。版本:$Id:Overview.html,v 1.3 2018/01/23 15:25:37 denis Exp$SMI此DTD模块由PUBLIC和SYSTEM标识符标识:PUBLIC“-//W3C//ENTITIES XHTML+RDFa Document Model 1.1//EN”(公共)系统”http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-2.mod"修订:(无)....................................................................... --><!-- XHTML+RDFa文档模型本模块描述了组成XHTML元素的通用内容模型。XHTML有三种基本内容模型:%内联.mix;字符级元素%块.mix;块状元素,例如段落和列表%流量.mix;任何块或内联元素可以使用此模块中声明的任何参数实体创建元素内容模型,但以上三个是被视为“全球”(只要该术语在此适用)。保留字“#PCDATA”(表示文本字符串)现在是显式包含在声明为混合内容,因为XML要求此标记首先出现在内容模型规范中。--><!-- 扩展模型在某些情况下,可能需要将此模块重写为适应文档模型的更改,小扩展可以通过重新说明三个额外项目中的任何一个来完成;包含扩展元素类型的参数实体如下:%其他额外费用;其父级可以是任何块或内联元素。%内联.extra;其父级可以是任何内联元素。%额外模块;其父元素可以是任何块元素。如果使用,这些参数实体必须是OR分隔的以OR分隔符(“|”)开头的列表,例如“|a|b|c”所有块和内联*.class参数实体都不是部分struct.class类的以“|”开头,以允许从混合中排除。--><!-- ..............  头部可选元件…………..--><!实体%HeadOpts.mix公司“”(%script.qname;|%style.qname;|%meta.qname;)“;|%link.qname;|%对象.qname;)*"><!-- .................  其他元素…………..--><!-- ins和del用于表示编辑更改--><!实体%编辑.class“|%ins.qname;|%del.jname;”><!-- script和noscript用于包含脚本和替代内容--><!实体%脚本类“|%script.qname;|%noscript.qname;”><!实体%其他额外费用"" ><!-- 这些元素既不是块也不是内联的,并且可以基本上可以在文档体中的任何位置使用。--><!实体%其他类别“%Edit.class;%脚本类;%其他额外费用;"><!-- ....................  内联元素…………..--><!实体%InlStruct.class类“%br.qname;|%span.qname:”><!实体%InlPhras.class类“”|%em.qname;|%strong.qname,|%dfn.qname;|%code.qname;“;|%samp.qname;|%kbd.qname;|%变量qname;|%cite.qname;|%abbr.qname;|%缩写词.qname;|%q.qname;" ><!实体%InlPres.类“”|%tt.qname;|%i.qname;|%b.qname;|%big.qname;“;|%small.qname;|%sub.qname;|%供应商名称;" ><!实体%I18n.等级“|%bdo.qname;”><!实体%锚.class“|%a.qname;”><!实体%InlSpecial.class中“”|%img.qname;|%map.qname;“;|%object.qname;" ><!实体%InlForm.class中“”|%input.qname;|%select.qname;|%textarea.qname;“;|%label.qname;|%button.q名称;" ><!实体%内联.extra"" ><!实体%Ruby.class公司“|%ruby.qname;”><!-- %内联类;包括所有内联元素,用作混合物中的成分--><!实体%内联类“%InlStruct.class;%InlPhras.class类;%InlPres.类;%I18n.等级;%锚类;%InlSpecial.class;%InlForm.class;%摩擦等级;%内联.extra;"><!-- %InlNoRuby.class;包括所有内联元素除了ruby,它在混合中用作组件--><!实体%InlNoRuby.class公司“%InlStruct.class;%InlPhras.class类;%InlPres.类;%I18n.等级;%锚类;%InlSpecial.class;%InlForm.class;%内联.extra;"><!-- %无Ruby.content;包括除ruby以外的所有内联代码--><!实体%无Ruby.content“(#PCDATA)|%InlNoRuby.class;%其他类别;)*"><!-- %InlNoAnchor.class;包括所有非锚定内联线,用作混合物中的成分--><!实体%InlNoAnchor.类“%InlStruct.class;%InlPhras.class类;%InlPres.类;%I18n.等级;%InlSpecial.class;%InlForm.class;%摩擦等级;%内联.extra;"><!-- %InlNoAnchor.mix;包括所有非锚定内联--><!实体%InlNoAnchor.mix公司“%InlNoAnchor.class;%其他类别;"><!-- %内联.mix;包括所有内联元素,包括%Misc.class;--><!实体%内联.mix“%Inline.class;%其他类别;"><!-- .....................  块元素…………………..--><!-- 在HTML 4.0 DTD中,包含了标题和列表元素在%块中;参数实体。%Heading.class;%列表类;现在必须显式包含参数实体在所需的元素声明上。--><!实体%标题.类“%h1.qname;|%h2.qname;|%h3.qname;”;|%h4.qname;|%h5.q名称;|%h6.q名称;" ><!实体%列表.class“%ul.qname;|%ol.qname<!实体%表.类“|%table.qname;”><!实体%窗体.类“|%form.qname;”><!实体%字段集类“|%fieldset.qname;”><!实体%黑色结构类“%p.qname;|%div.qname;”><!实体%黑色短语类“|%pre.qname;|%blockquote.qname<!实体%BlkPres.类“|%hr.qname;”><!实体%黑色特殊类“%Table.class;%表格类;%Fieldset.class;"><!实体%块.extra"" ><!-- %块类;包括所有块元素,用作混合物中的成分--><!实体%块.class“%BlkStruct.class;%黑色短语类;%BlkPres.类;%Blk特殊等级;%额外模块;"><!-- %块.mix;包括所有块元素加上%Misc.class;--><!实体%方块.mix“%Heading.class;|%List.class;|%区块类;%其他类别;"><!-- ................  所有内容元素…………..--><!-- %流量.mix;包括所有文本内容、块和内联--><!实体%流量.mix“%Heading.class;|%List.class;|%区块类;|%内联类;%其他类别;"><!-- xhtml-rdfa-model-2mod-->的末尾

B.3节XHTML+RDFa驱动程序模块

您可以从以下位置下载此版本的文件DTD/xhtml-rdfa-2.DTD。最新版本位于http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.DTD.

<!-- ....................................................................... --><!-- XHTML 1.1+RDFa DTD<!-- 文件:xhtml-rdfa-2.dtd--><!-- XHTML 1.1+RDFa DTD这是一个结合XHTML 1.1和RDFa的标记语言示例模块。XHTML+RDFa版权所有1998-2010万维网联盟(麻省理工学院,欧洲研究联合会庆应义塾大学信息与数学专业)。保留所有权利。使用、复制、修改和分发XHTML DTD及其特此免费提供用于任何目的的随附文件永久授予,前提是上述版权声明和这段文字出现在所有副本中。版权所有者拒绝关于DTD适用于任何目的的表述。它是“按原样”提供的,没有明示或暗示的保证。--><!-- 这是XHTML+RDFa DTD版本1的驱动程序文件。请使用此公共标识符进行标识:“-//W3C//DTD XHTML+RDFa 1.1//EN”--><!实体%XHTML版本“XHTML+RDFa 1.1”><!-- 使用此URI标识默认命名空间:"http://www.w3.org/1999/xhtml"有关信息,请参阅限定名称模块在DTD中使用名称空间前缀。注意,默认情况下,XHTML名称空间元素没有前缀,但是XHTML名称空间前缀被定义为“XHTML”,因此其他标记语言可以对此进行扩展并使用XHTML如果需要,可以使用带前缀的全局属性。--><!实体%NS.前缀“忽略”><!实体%XHTML前缀“xhtml”><!-- 确保包含带前缀的全局属性-我们不需要但扩展XHTML1.1的语言可能会。--><!实体%XHTML.global.attrs.前缀“包括”><!-- 保留用于XLink命名空间:--><!实体%XLINK.xmlns公司"" ><!实体%XLINK.xmlns.attrib(XLINK.xmlns.attlib)"" ><!-- 例如,如果您直接使用XHTML1.1,请使用publicDOCTYPE声明中的标识符,以及命名空间声明在document元素上标识默认命名空间:<?xml版本=“1.0”?><!DOCTYPE html PUBLIC“-//W3C//DTD XHTML+RDFa 1.1//EN”"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.DTD"><html xmlns=“http://www.w3.org/1999/xhtml"xml:lang=“en”>...</html>修订:(无)--><!-- 保留以供将来与文档配置文件一起使用--><!实体%XHTML配置文件"" ><!-- 确保禁用XHTML符号--><!实体%xhtml-notations.模块“忽略”><!-- 双向文本功能此功能测试实体用于声明元素和用于双向文本支持的属性。--><!实体%XHTML比迪“包括”><!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --><!-- 框架前重新声明占位符…………..--><!-- 这是插入标记声明的位置在框架声明之前进入DTD。--><!实体%xhtml-prefw-redecl.模块“忽略”><!实体%xhtml-prefw-redecl.mod(xhtml-左侧-右侧)"" ><![%xhtml-prefw-redecl.模块[%xhtml-prefw-redecl.mod;<!-- xhtml-prefw-redecl.模块的末尾-->]]><!-- 我们现在需要数据类型--><!实体%xhtml-datatypes.模块“包括”><![%xhtml-datatypes.module[<!实体%xhtml-数据类型.modPUBLIC“-//W3C//ENTITIES XHTML数据类型1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-datatypes-1.mod" >%xhtml-datatypes.mod;]]><!-- 引入RDFa属性,因为我们在Common-->中需要它们<!实体%xhtml-metaAttributes.模块“包括”><![%xhtml-metaAttributes.module[<!实体%xhtml-meta属性.modPUBLIC“-//W3C//ENTITIES XHTML MetaAttributes 1.1//EN”"http://www.w3.org/MarkUp/DTD/xhtml-metaAttributes-2.mod网站" >%xhtml元属性.mod;]]><!实体%xhtml-events.模块“包括”><!实体%通用.extra.attrib“href%URI.datatype;#隐含%元信息属性;"><!-- 将lang属性添加到I18N集合--><!实体%语言属性“xml:lang%LanguageCode.datatype;#IMPLIED”语言%LanguageCode.datatype#默示“><!-- 内联样式模块<!实体%xhtml-instyle.模块“包括”><![%xhtml-instyle.模块[<!实体%xhtml-instyle.modPUBLIC“-//W3C//ELEMENTS XHTML内联样式1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-inlstyle-1.mod" >%xhtml-instyle.mod;]]><!-- 声明在框架中实例化的文档模型模块--><!实体%xhtml-型号.modPUBLIC“-//W3C//ENTITIES XHTML+RDFa Document Model 1.1//EN”(公共)"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-2.mod" ><!-- 模块化框架模块(必需)…………………………..--><!实体%xhtml-框架.模块“包括”><![%xhtml-framework.module[<!实体%xhtml-框架.modPUBLIC“-//W3C//ENTITIES XHTML模块化框架1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-framework-1.mod" >%xhtml-framework.mod;]]><!-- 框架后重新声明占位符…………..--><!-- 这是插入标记声明的位置在框架声明之后进入DTD。--><!实体%xhtml-postfw-redecl.模块“忽略”><!实体%xhtml-postfw-redecl.mod公司""><![%xhtml-postfw-redecl.module[%xhtml-postfw-redecl.mod;<!-- xhtml结束-postfw-redecl.module-->]]><!-- 文本模块(必需)<!实体%xhtml文本模块“包括”><![%xhtml-text.module[<!实体%xhtml-文本.modPUBLIC“-//W3C//ELEMENTS XHTML Text 1.0//EN”(公共)"http://www.w3.org/MarkUp/DTD/xhtml-text-1.mod" >%xhtml-text.mod;]]><!-- 超文本模块(必需)<!实体%a.律师“忽略”><!实体%xhtml-hypertext.模块“包括”><![%xhtml-hypertext.模块[<!实体%xhtml-超文本.modPUBLIC“-//W3C//ELEMENTS XHTML超文本1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod" >%xhtml-hypertext.mod;]]><!ATTLIST%a.qname;%通用属性;字符集%charset.datatype#暗指的类型%ContentType.datatype#暗指的hreflang%语言代码数据类型#暗指的访问键%Character.datatype#暗指的选项卡索引%Number.datatype#暗指的><!-- 列出模块(必需)<!实体%xhtml-list.模块“包括”><![%xhtml-list.模块[<!实体%xhtml-list.mod(xhtml-list.mod)PUBLIC“-//W3C//ELEMENTS XHTML Lists 1.0//EN”(公共)"http://www.w3.org/MarkUp/DTD/xhtml-list-1.mod" >%xhtml-list.mod;]]><!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --><!-- 编辑模块…………..--><!实体%xhtml编辑模块“包括”><![%xhtml编辑模块[<!实体%xhtml-编辑.modPUBLIC“-//W3C//ELEMENTS XHTML编辑元素1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml编辑-1.mod" >%xhtml-edit.mod;]]><!-- BIDI覆盖模块<!实体%xhtml-bdo.模块“%XHTML.bidi;”><![%xhtml-bdo.模块[<!实体%xhtml-bdo.mod(xhtml-bdo.mod)PUBLIC“-//W3C//ELEMENTS XHTML BIDI覆盖元素1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-bdo-1.mod" >%xhtml-bdo.mod;]]><!-- Ruby模块<!实体%Ruby.common.attlists公司“包括”><!实体%Ruby.common.attrib公司“%Common.attrib;”><!实体%xhtml-子模块“包括”><![%xhtml-ruby.module[<!实体%xhtml-红色mod公共“-//W3C//ELEMENTS XHTML Ruby 1.0//EN”"http://www.w3.org/TR/ruby/xhtml-ruby-1.mod网站" >%xhtml-ruby.mod;]]><!-- 演示模块…………..--><!实体%xhtml-pres.模块“包括”><![%xhtml-pres.模块[<!实体%xhtml-pres.mod公司PUBLIC“-//W3C//ELEMENTS XHTML演示文稿1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod" >%xhtml-pres.mod;]]><!实体%链接.attlist“忽略”><!-- 链接元素模块<!实体%xhtml链接模块“包括”><![%xhtml链接.module[<!实体%xhtml链接.modPUBLIC“-//W3C//ELEMENTS XHTML链接元素1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml链接-1.mod" >%xhtml-link.mod;]]><!ATTLIST%link.qname;(附件列表%link.q名称;);%通用属性;字符集%charset.datatype#暗指的hreflang%语言代码数据类型#暗指的类型%ContentType.datatype#暗指的媒体%MediaDesc.datatype#暗指的><!-- 文档元信息模块…………..--><!实体%元属性列表“忽略”><!实体%xhtml-meta.模块“包括”><![%xhtml-meta.module[<!实体%xhtml-meta.mod(毫米)PUBLIC“-//W3C//ELEMENTS XHTML元信息1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-meta-1.mod网站" >%xhtml-meta.mod;]]><!属性列表%meta.qname;%通用属性;http-equiv NMTOKEN#默示name NMTOKEN#隐含方案CDATA#隐含><!-- 基本元件模块…………..--><!实体%xhtml基本模块“包括”><![%xhtml-base.module[<!实体%xhtml基本.modPUBLIC“-//W3C//ELEMENTS XHTML Base Element 1.0//EN”(公共)"http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod" >%xhtml base.mod;]]><!-- 脚本模块<!实体%脚本.attlist“忽略”><!实体%xhtml-script.模块“包括”><![%xhtml-script.module[<!实体%xhtml-脚本.modPUBLIC“//W3C//EELEMENTS XHTML脚本1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-script-1.mod" >%xhtml-script.mod;]]><!ATTLIST%script.qname;%XHTML.xmls.attrib;%id属性;%元信息属性;href%URI.datatype#暗指的xml:space(preserve)#FIXED“preserve”字符集%charset.datatype#暗指的类型%ContentType.datatype#必修的src%URI.datatype#暗指的defer(defer)#隐含><!-- 样式表模块…………..--><!实体%样式.attlist“忽略”><!实体%xhtml样式模块“包括”><![%xhtml-style.module[<!实体%xhtml样式.modPUBLIC“-//W3C//ELEMENTS XHTML样式表1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-style-1.mod" >%xhtml-style.mod;]]><!ATTLIST%style.qname;%XHTML.xmls.attrib;%id属性;%标题属性;%I18n.attrib;%元信息属性;href%URI.datatype#暗指的xml:space(preserve)#FIXED“preserve”类型%ContentType.datatype#必修的媒体%MediaDesc.datatype#暗指的><!-- 图像模块………………………………………………..--><!实体%xhtml-image.模块“包括”><![%xhtml-image.module[<!实体%xhtml-图像.modPUBLIC“//W3C//EMENTS XHTML图像1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-image-1.mod网站" >%xhtml-image.mod;]]><!-- 客户端图像映射模块<!实体%区域.附件列表“忽略”><!实体%xhtml-csismap.模块“包括”><![%xhtml-csismap.模块[<!实体%xhtml-csismap.modPUBLIC“-//W3C//ELEMENTS XHTML客户端图像映射1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-csismap-1.mod" >%xhtml-csismap.mod;]]><!ATTLIST%区域.qname;%通用属性;形状%shape.datatype;'矩形'坐标%coords.datatype#暗指的nohref(nohref)#隐含alt%文本数据类型#必修的选项卡索引%Number.datatype#暗指的访问键%Character.datatype#暗指的><!-- 服务器端图像映射模块<!实体%xhtml-ssismap.模块“包括”><![%xhtml-ssismap.模块[<!实体%xhtml-ssismap.modPUBLIC“-//W3C//ELEMENTS XHTML服务器端图像映射1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-ssismap-1.mod" >%xhtml-ssismap.mod;]]><!-- 参数元素模块<!实体%参数属性列表“忽略”><!实体%xhtml图表模块“包括”><![%xhtml-param.module[<!实体%xhtml图表.modPUBLIC“-//W3C//ELEMENTS XHTML参数元素1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-param-1.mod网站" >%xhtml-param.mod;]]><!ATTLIST%param.qname;%XHTML.xmls.attrib;%id属性;%元信息属性;href%URI.datatype#暗指的name CDATA#必需value CDATA#隐含valuetype(data|ref|object)“数据”类型%ContentType.datatype#暗指的><!-- 嵌入式对象模块<!实体%xhtml-对象模块“包括”><![%xhtml-object.module[<!实体%xhtml-对象.modPUBLIC“-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-object-1.mod" >%xhtml-object.mod;]]><!-- 表格模块<!实体%xhtml-表格模块“包括”><![%xhtml-表格模块[<!实体%xhtml-表.modPUBLIC“-//W3C//ELEMENTS XHTML Tables 1.0//EN”(公共)"http://www.w3.org/MarkUp/DTD/xhtml-table-1.mod" >%xhtml-table.mod;]]><!-- 表单模块<!实体%xhtml格式模块“包括”><![%xhtml-form.模块[<!实体%xhtml形式.mod公共“-//W3C//ELEMENTS XHTML Forms 1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml格式-1.mod" >%xhtml格式修改;]]><!-- 目标属性模块……………………………………………--><!实体%xhtml-目标模块“包括”><![%xhtml目标模块[<!实体%xhtml-目标.modPUBLIC“-//W3C//ELEMENTS XHTML Target 1.0//EN”(公共)"http://www.w3.org/MarkUp/DTD/xhtml-target-1.mod" >%xhtml-目标.mod;]]><!-- 传统标记<!实体%xhtml-电子模块“忽略”><![%xhtml-legacy.模块[<!实体%xhtml-失落.modPUBLIC“-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN”(公共)"网址:http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod" >%xhtml-legacy.mod;]]><!-- 文档结构模块(必需)…………..--><!实体%html.attlist(html.att列表)“忽略”><!实体%标题.附件列表“忽略”><!实体%标题.附件列表“忽略”><!实体%xhtml-结构模块“包括”><![%xhtml-struct.module[<!实体%xhtml-结构.modPUBLIC“-//W3C//ELEMENTS XHTML文档结构1.0//EN”"http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod" >%xhtml-struct.mod;]]><!实体%XHTML版本属性“版本%FPI.datatype;#FIXED“%XHTML.version;”><!ATTLIST%html.qname;(附件列表%html.jname;);%通用属性;%XSI.schemaLocation.attrib;%XHTML版本属性;><!属性列表%head.qname;%通用属性;><!附件列表%title.qname;%通用属性;><!-- XHTML-RDFa DTD结束<!-- ....................................................................... -->

B.4个XHTML+RDFa的SGML打开目录条目

本节包含SGML Open Catalog-format定义[SGML-目录]公共标识符的用于XHTML+RDFa 1.1。

您可以从以下位置下载此版本的文件DTD/xhtml-rdfa.cat公司。最新版本位于http://www.w3.org/MarkUp/DTD/xhtml-rdfa.cat.

-- .......................................................................... ----文件目录----XHTML+RDFa目录数据文件修订:$修订:1.3$有关详细信息,请参阅“实体管理”,SGML开放技术解决方案9401有关提供和使用目录数据的信息。此文档可用来自OASIS的URL:<http://www.oasis-open.org/html/tr9401.html>---- .......................................................................... ----与XHTML关联的SGML声明--超越是SGMLDECL“xml1.dcl”-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ----XHTML+RDFa模块--公共“-//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元属性1.1//EN”“XHTML-MetaAttributes-2.mod”--目录数据结束---- .......................................................................... --

C。部署建议

本节不规范。

使用中定义的标记语言编写的文档可以使用中定义的DTD附录B。如果文档作者想要为了便于验证,可以包括以下内容文件顶部的声明:

示例2
<!DOCTYPE html PUBLIC“-//W3C//DTD XHTML+RDFa 1.1//EN”"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.DTD">

与关联的XML命名空间文档XHTML标记语言系列使用将XHTML+RDFa文档转换为RDF定义如下[全球存托凭证].想要确认其文档的作者所有人都可以改变[全球存托凭证]处理器可以还包括一个轮廓属性包含参考RDFa初始上下文IRIhttp://www.w3.org/2011/rdfa-context/xhtml-rdfa-1.1.

D。更改历史记录

本节不规范。

2010年02月25日:分离XHTML专门化的第一版。

E。致谢

本节不规范。

在发布时RDFa工作组包括:

F、。工具书类

图1规范性引用文件

[HTML5]
伊恩·希克森;罗宾·伯洪(Robin Berjon);史蒂夫·福克纳;特拉维斯·利希德(Travis Leithead);艾瑞卡·多伊尔·纳瓦拉;特蕾莎·奥康纳;西尔维娅·菲佛。HTML52014年10月28日。W3C建议。网址:http://www.w3.org/TR/html5/
[RDFA-核心]
Shane McCarron等人。RDFa Core 1.1-第三版:通过属性嵌入RDF的语法和处理规则2015年3月17日。W3C建议。网址:http://www.w3.org/TR/rdfa-core/
[RFC2119]
S.Bradner(布拉德纳)。RFC中用于指示需求级别的关键词1997年3月。当前最佳实践。网址:https://tools.ietf.org/html/rfc2119
[RFC3236]
M.Baker;P.斯塔克。“application/xhtml+xml”媒体类型2002年1月。信息。网址:https://tools.ietf.org/html/rfc3236工具
[红宝石]
马金·萨维基(Marcin Sawicki);米歇尔·苏格纳德;石川正雄;马丁·德斯特;Tex-Texin等人。Ruby批注2001年5月31日。W3C建议。网址:http://www.w3.org/TR/ruby/
[XHTML模块化11-2e]
Shane McCarron等人。XHTML™模块化1.1-第二版2010年7月29日。W3C建议。网址:http://www.w3.org/TR/2010/REC-xhtml-modulezation-20100729
[XHTML11-2e]
谢恩·麦卡伦(Shane McCarron);石川正男(Masayasu Ishikawa)。XHTML™1.1-基于模块的XHTML-第二版2010年11月23日。W3C建议。网址:http://www.w3.org/TR/2010/REC-xhtml11-20101123
[XML-NAMES11]
蒂姆·布雷;戴夫·霍兰德;安德鲁·雷曼(Andrew Layman);理查德·托宾(Richard Tobin)等人。XML 1.1中的命名空间(第二版)2006年8月16日。W3C建议。网址:http://www.w3.org/TR/xml-names11/
[XMLSCHEMA11-2]
大卫·彼得森;Sandy Gao;阿肖克·马尔霍特拉(Ashok Malhotra);Michael Sperberg-McQueen;亨利·汤普森;Paul V.Biron等人。W3C XML模式定义语言(XSD)1.1第2部分:数据类型2012年4月5日。W3C建议。网址:http://www.w3.org/TR/xmlschema11-2/

图2参考资料

[GRDDL]
丹·康诺利。从语言方言中提取资源描述(GRDDL)2007年9月11日。W3C建议。网址:http://www.w3.org/TR/grddl/
[RDFA-语法]
本·阿迪达;马克·伯贝克;谢恩·麦卡伦(Shane McCarron);Steven Pemberton等人。XHTML中的RDFa:语法和处理2008年10月14日。W3C建议。网址:http://www.w3.org/TR/2008/REC-rdfa-syntax-208114
[SGML-CATALOG]
保罗·格罗索。实体管理:OASIS技术决议9401:1997(TR 9401修正案2)1007年9月10日。实体管理小组委员会,SGML Open。网址:https://www.oasis-open.org/html/a401.htm
[XHTML媒体类型]
谢恩·麦卡伦。XHTML媒体类型-第二版2009年1月16日。W3C注释。网址:http://www.w3.org/TR/xhtml-media-types