Advertisement
Guest User

xhtml-rdfa-1.dtd

a guest
Apr 22nd, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.86 KB | None | 0 0
  1. <!-- ....................................................................... -->
  2. <!-- XHTML 1.1 + RDFa DTD ................................................. -->
  3. <!-- file: xhtml-rdfa-1.dtd
  4. -->
  5.  
  6. <!-- XHTML 1.1 + RDFa DTD
  7.  
  8. This is an example markup language combining XHTML 1.1 and the RDFa
  9. modules.
  10.  
  11. XHTML+RDFa
  12. Copyright 1998-2008 World Wide Web Consortium
  13. (Massachusetts Institute of Technology, European Research Consortium
  14. for Informatics and Mathematics, Keio University).
  15. All Rights Reserved.
  16.  
  17. Permission to use, copy, modify and distribute the XHTML DTD and its
  18. accompanying documentation for any purpose and without fee is hereby
  19. granted in perpetuity, provided that the above copyright notice and
  20. this paragraph appear in all copies. The copyright holders make no
  21. representation about the suitability of the DTD for any purpose.
  22.  
  23. It is provided "as is" without expressed or implied warranty.
  24.  
  25. -->
  26. <!-- This is the driver file for version 1 of the XHTML + RDFa DTD.
  27.  
  28. Please use this public identifier to identify it:
  29.  
  30. "-//W3C//DTD XHTML+RDFa 1.0//EN"
  31. -->
  32. <!ENTITY % XHTML.version "XHTML+RDFa 1.0" >
  33.  
  34. <!-- Use this URI to identify the default namespace:
  35.  
  36. "http://www.w3.org/1999/xhtml"
  37.  
  38. See the Qualified Names module for information
  39. on the use of namespace prefixes in the DTD.
  40.  
  41. Note that XHTML namespace elements are not prefixed by default,
  42. but the XHTML namespace prefix is defined as "xhtml" so that
  43. other markup languages can extend this one and use the XHTML
  44. prefixed global attributes if required.
  45.  
  46. -->
  47. <!ENTITY % NS.prefixed "IGNORE" >
  48. <!ENTITY % XHTML.prefix "xhtml" >
  49.  
  50. <!-- Be sure to include prefixed global attributes - we don't need
  51. them, but languages that extend XHTML 1.1 might.
  52. -->
  53. <!ENTITY % XHTML.global.attrs.prefixed "INCLUDE" >
  54.  
  55. <!-- Reserved for use with the XLink namespace:
  56. -->
  57. <!ENTITY % XLINK.xmlns "" >
  58. <!ENTITY % XLINK.xmlns.attrib "" >
  59.  
  60. <!-- For example, if you are using XHTML 1.1 directly, use the public
  61. identifier in the DOCTYPE declaration, with the namespace declaration
  62. on the document element to identify the default namespace:
  63.  
  64. <?xml version="1.0"?>
  65. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
  66. "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
  67. <html xmlns="http://www.w3.org/1999/xhtml"
  68. xml:lang="en">
  69. ...
  70. </html>
  71.  
  72. Revisions:
  73. (none)
  74. -->
  75.  
  76. <!-- reserved for future use with document profiles -->
  77. <!ENTITY % XHTML.profile "" >
  78.  
  79. <!-- ensure XHTML Notations are disabled -->
  80. <!ENTITY % xhtml-notations.module "IGNORE" >
  81.  
  82. <!-- Bidirectional Text features
  83. This feature-test entity is used to declare elements
  84. and attributes used for bidirectional text support.
  85. -->
  86. <!ENTITY % XHTML.bidi "INCLUDE" >
  87.  
  88. <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
  89.  
  90. <!-- Pre-Framework Redeclaration placeholder .................... -->
  91. <!-- this serves as a location to insert markup declarations
  92. into the DTD prior to the framework declarations.
  93. -->
  94. <!ENTITY % xhtml-prefw-redecl.module "IGNORE" >
  95. <!ENTITY % xhtml-prefw-redecl.mod "" >
  96. <![%xhtml-prefw-redecl.module;[
  97. %xhtml-prefw-redecl.mod;
  98. <!-- end of xhtml-prefw-redecl.module -->]]>
  99.  
  100. <!-- we need the datatypes now -->
  101. <!ENTITY % xhtml-datatypes.module "INCLUDE" >
  102. <![%xhtml-datatypes.module;[
  103. <!ENTITY % xhtml-datatypes.mod
  104. PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
  105. "http://www.w3.org/MarkUp/DTD/xhtml-datatypes-1.mod" >
  106. %xhtml-datatypes.mod;]]>
  107.  
  108. <!-- bring in the RDFa attributes cause we need them in Common -->
  109. <!ENTITY % xhtml-metaAttributes.module "INCLUDE" >
  110. <![%xhtml-metaAttributes.module;[
  111. <!ENTITY % xhtml-metaAttributes.mod
  112. PUBLIC "-//W3C//ENTITIES XHTML MetaAttributes 1.0//EN"
  113. "http://www.w3.org/MarkUp/DTD/xhtml-metaAttributes-1.mod" >
  114. %xhtml-metaAttributes.mod;]]>
  115.  
  116. <!ENTITY % xhtml-events.module "INCLUDE" >
  117.  
  118. <!ENTITY % Common.extra.attrib
  119. "href %URI.datatype; #IMPLIED
  120. %Metainformation.attrib;"
  121. >
  122. <!-- adding the lang attribute into the I18N collection -->
  123.  
  124. <!ENTITY % lang.attrib
  125. "xml:lang %LanguageCode.datatype; #IMPLIED
  126. lang %LanguageCode.datatype; #IMPLIED"
  127. >
  128.  
  129. <!-- Inline Style Module ........................................ -->
  130. <!ENTITY % xhtml-inlstyle.module "INCLUDE" >
  131. <![%xhtml-inlstyle.module;[
  132. <!ENTITY % xhtml-inlstyle.mod
  133. PUBLIC "-//W3C//ELEMENTS XHTML Inline Style 1.0//EN"
  134. "http://www.w3.org/MarkUp/DTD/xhtml-inlstyle-1.mod" >
  135. %xhtml-inlstyle.mod;]]>
  136.  
  137. <!-- declare Document Model module instantiated in framework
  138. -->
  139. <!ENTITY % xhtml-model.mod
  140. PUBLIC "-//W3C//ENTITIES XHTML+RDFa Document Model 1.0//EN"
  141. "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-1.mod" >
  142.  
  143. <!-- Modular Framework Module (required) ......................... -->
  144. <!ENTITY % xhtml-framework.module "INCLUDE" >
  145. <![%xhtml-framework.module;[
  146. <!ENTITY % xhtml-framework.mod
  147. PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
  148. "http://www.w3.org/MarkUp/DTD/xhtml-framework-1.mod" >
  149. %xhtml-framework.mod;]]>
  150.  
  151. <!-- Post-Framework Redeclaration placeholder ................... -->
  152. <!-- this serves as a location to insert markup declarations
  153. into the DTD following the framework declarations.
  154. -->
  155. <!ENTITY % xhtml-postfw-redecl.module "IGNORE" >
  156. <!ENTITY % xhtml-postfw-redecl.mod "">
  157. <![%xhtml-postfw-redecl.module;[
  158. %xhtml-postfw-redecl.mod;
  159. <!-- end of xhtml-postfw-redecl.module -->]]>
  160.  
  161.  
  162.  
  163. <!-- Text Module (Required) ..................................... -->
  164. <!ENTITY % xhtml-text.module "INCLUDE" >
  165. <![%xhtml-text.module;[
  166. <!ENTITY % xhtml-text.mod
  167. PUBLIC "-//W3C//ELEMENTS XHTML Text 1.0//EN"
  168. "http://www.w3.org/MarkUp/DTD/xhtml-text-1.mod" >
  169. %xhtml-text.mod;]]>
  170.  
  171. <!-- Hypertext Module (required) ................................. -->
  172. <!ENTITY % a.attlist "IGNORE" >
  173. <!ENTITY % xhtml-hypertext.module "INCLUDE" >
  174. <![%xhtml-hypertext.module;[
  175. <!ENTITY % xhtml-hypertext.mod
  176. PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
  177. "http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod" >
  178. %xhtml-hypertext.mod;]]>
  179. <!ATTLIST %a.qname;
  180. %Common.attrib;
  181. charset %Charset.datatype; #IMPLIED
  182. type %ContentType.datatype; #IMPLIED
  183. hreflang %LanguageCode.datatype; #IMPLIED
  184. accesskey %Character.datatype; #IMPLIED
  185. tabindex %Number.datatype; #IMPLIED
  186. >
  187.  
  188. <!-- Lists Module (required) .................................... -->
  189. <!ENTITY % xhtml-list.module "INCLUDE" >
  190. <![%xhtml-list.module;[
  191. <!ENTITY % xhtml-list.mod
  192. PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
  193. "http://www.w3.org/MarkUp/DTD/xhtml-list-1.mod" >
  194. %xhtml-list.mod;]]>
  195.  
  196. <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
  197.  
  198. <!-- Edit Module ................................................ -->
  199. <!ENTITY % xhtml-edit.module "INCLUDE" >
  200. <![%xhtml-edit.module;[
  201. <!ENTITY % xhtml-edit.mod
  202. PUBLIC "-//W3C//ELEMENTS XHTML Editing Elements 1.0//EN"
  203. "http://www.w3.org/MarkUp/DTD/xhtml-edit-1.mod" >
  204. %xhtml-edit.mod;]]>
  205.  
  206. <!-- BIDI Override Module ....................................... -->
  207. <!ENTITY % xhtml-bdo.module "%XHTML.bidi;" >
  208. <![%xhtml-bdo.module;[
  209. <!ENTITY % xhtml-bdo.mod
  210. PUBLIC "-//W3C//ELEMENTS XHTML BIDI Override Element 1.0//EN"
  211. "http://www.w3.org/MarkUp/DTD/xhtml-bdo-1.mod" >
  212. %xhtml-bdo.mod;]]>
  213.  
  214. <!-- Ruby Module ................................................ -->
  215. <!ENTITY % Ruby.common.attlists "INCLUDE" >
  216. <!ENTITY % Ruby.common.attrib "%Common.attrib;" >
  217. <!ENTITY % xhtml-ruby.module "INCLUDE" >
  218. <![%xhtml-ruby.module;[
  219. <!ENTITY % xhtml-ruby.mod
  220. PUBLIC "-//W3C//ELEMENTS XHTML Ruby 1.0//EN"
  221. "http://www.w3.org/TR/ruby/xhtml-ruby-1.mod" >
  222. %xhtml-ruby.mod;]]>
  223.  
  224. <!-- Presentation Module ........................................ -->
  225. <!ENTITY % xhtml-pres.module "INCLUDE" >
  226. <![%xhtml-pres.module;[
  227. <!ENTITY % xhtml-pres.mod
  228. PUBLIC "-//W3C//ELEMENTS XHTML Presentation 1.0//EN"
  229. "http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod" >
  230. %xhtml-pres.mod;]]>
  231.  
  232. <!ENTITY % link.attlist "IGNORE" >
  233. <!-- Link Element Module ........................................ -->
  234. <!ENTITY % xhtml-link.module "INCLUDE" >
  235. <![%xhtml-link.module;[
  236. <!ENTITY % xhtml-link.mod
  237. PUBLIC "-//W3C//ELEMENTS XHTML Link Element 1.0//EN"
  238. "http://www.w3.org/MarkUp/DTD/xhtml-link-1.mod" >
  239. %xhtml-link.mod;]]>
  240.  
  241. <!ATTLIST %link.qname;
  242. %Common.attrib;
  243. charset %Charset.datatype; #IMPLIED
  244. hreflang %LanguageCode.datatype; #IMPLIED
  245. type %ContentType.datatype; #IMPLIED
  246. media %MediaDesc.datatype; #IMPLIED
  247. >
  248.  
  249. <!-- Document Metainformation Module ............................ -->
  250. <!ENTITY % meta.attlist "IGNORE" >
  251. <!ENTITY % xhtml-meta.module "INCLUDE" >
  252. <![%xhtml-meta.module;[
  253. <!ENTITY % xhtml-meta.mod
  254. PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
  255. "http://www.w3.org/MarkUp/DTD/xhtml-meta-1.mod" >
  256. %xhtml-meta.mod;]]>
  257. <!ATTLIST %meta.qname;
  258. %Common.attrib;
  259. http-equiv NMTOKEN #IMPLIED
  260. name NMTOKEN #IMPLIED
  261. scheme CDATA #IMPLIED
  262. >
  263.  
  264. <!-- Base Element Module ........................................ -->
  265. <!ENTITY % xhtml-base.module "INCLUDE" >
  266. <![%xhtml-base.module;[
  267. <!ENTITY % xhtml-base.mod
  268. PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
  269. "http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod" >
  270. %xhtml-base.mod;]]>
  271.  
  272. <!-- Scripting Module ........................................... -->
  273. <!ENTITY % script.attlist "IGNORE" >
  274. <!ENTITY % xhtml-script.module "INCLUDE" >
  275. <![%xhtml-script.module;[
  276. <!ENTITY % xhtml-script.mod
  277. PUBLIC "-//W3C//ELEMENTS XHTML Scripting 1.0//EN"
  278. "http://www.w3.org/MarkUp/DTD/xhtml-script-1.mod" >
  279. %xhtml-script.mod;]]>
  280.  
  281. <!ATTLIST %script.qname;
  282. %XHTML.xmlns.attrib;
  283. %id.attrib;
  284. %Metainformation.attrib;
  285. href %URI.datatype; #IMPLIED
  286. xml:space ( preserve ) #FIXED 'preserve'
  287. charset %Charset.datatype; #IMPLIED
  288. type %ContentType.datatype; #REQUIRED
  289. src %URI.datatype; #IMPLIED
  290. defer ( defer ) #IMPLIED
  291. >
  292.  
  293. <!-- Style Sheets Module ......................................... -->
  294. <!ENTITY % style.attlist "IGNORE" >
  295. <!ENTITY % xhtml-style.module "INCLUDE" >
  296. <![%xhtml-style.module;[
  297. <!ENTITY % xhtml-style.mod
  298. PUBLIC "-//W3C//ELEMENTS XHTML Style Sheets 1.0//EN"
  299. "http://www.w3.org/MarkUp/DTD/xhtml-style-1.mod" >
  300. %xhtml-style.mod;]]>
  301. <!ATTLIST %style.qname;
  302. %XHTML.xmlns.attrib;
  303. %id.attrib;
  304. %title.attrib;
  305. %I18n.attrib;
  306. %Metainformation.attrib;
  307. href %URI.datatype; #IMPLIED
  308. xml:space ( preserve ) #FIXED 'preserve'
  309. type %ContentType.datatype; #REQUIRED
  310. media %MediaDesc.datatype; #IMPLIED
  311. >
  312.  
  313. <!-- Image Module ............................................... -->
  314. <!ENTITY % xhtml-image.module "INCLUDE" >
  315. <![%xhtml-image.module;[
  316. <!ENTITY % xhtml-image.mod
  317. PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
  318. "http://www.w3.org/MarkUp/DTD/xhtml-image-1.mod" >
  319. %xhtml-image.mod;]]>
  320.  
  321. <!-- Client-side Image Map Module ............................... -->
  322. <!ENTITY % area.attlist "IGNORE" >
  323.  
  324. <!ENTITY % xhtml-csismap.module "INCLUDE" >
  325. <![%xhtml-csismap.module;[
  326. <!ENTITY % xhtml-csismap.mod
  327. PUBLIC "-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN"
  328. "http://www.w3.org/MarkUp/DTD/xhtml-csismap-1.mod" >
  329. %xhtml-csismap.mod;]]>
  330.  
  331. <!ATTLIST %area.qname;
  332. %Common.attrib;
  333. shape %Shape.datatype; 'rect'
  334. coords %Coords.datatype; #IMPLIED
  335. nohref ( nohref ) #IMPLIED
  336. alt %Text.datatype; #REQUIRED
  337. tabindex %Number.datatype; #IMPLIED
  338. accesskey %Character.datatype; #IMPLIED
  339. >
  340.  
  341. <!-- Server-side Image Map Module ............................... -->
  342. <!ENTITY % xhtml-ssismap.module "INCLUDE" >
  343. <![%xhtml-ssismap.module;[
  344. <!ENTITY % xhtml-ssismap.mod
  345. PUBLIC "-//W3C//ELEMENTS XHTML Server-side Image Maps 1.0//EN"
  346. "http://www.w3.org/MarkUp/DTD/xhtml-ssismap-1.mod" >
  347. %xhtml-ssismap.mod;]]>
  348.  
  349. <!-- Param Element Module ....................................... -->
  350. <!ENTITY % param.attlist "IGNORE" >
  351. <!ENTITY % xhtml-param.module "INCLUDE" >
  352. <![%xhtml-param.module;[
  353. <!ENTITY % xhtml-param.mod
  354. PUBLIC "-//W3C//ELEMENTS XHTML Param Element 1.0//EN"
  355. "http://www.w3.org/MarkUp/DTD/xhtml-param-1.mod" >
  356. %xhtml-param.mod;]]>
  357.  
  358. <!ATTLIST %param.qname;
  359. %XHTML.xmlns.attrib;
  360. %id.attrib;
  361. %Metainformation.attrib;
  362. href %URI.datatype; #IMPLIED
  363. name CDATA #REQUIRED
  364. value CDATA #IMPLIED
  365. valuetype ( data | ref | object ) 'data'
  366. type %ContentType.datatype; #IMPLIED
  367. >
  368. <!-- Embedded Object Module ..................................... -->
  369. <!ENTITY % xhtml-object.module "INCLUDE" >
  370. <![%xhtml-object.module;[
  371. <!ENTITY % xhtml-object.mod
  372. PUBLIC "-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN"
  373. "http://www.w3.org/MarkUp/DTD/xhtml-object-1.mod" >
  374. %xhtml-object.mod;]]>
  375.  
  376. <!-- Tables Module ............................................... -->
  377. <!ENTITY % xhtml-table.module "INCLUDE" >
  378. <![%xhtml-table.module;[
  379. <!ENTITY % xhtml-table.mod
  380. PUBLIC "-//W3C//ELEMENTS XHTML Tables 1.0//EN"
  381. "http://www.w3.org/MarkUp/DTD/xhtml-table-1.mod" >
  382. %xhtml-table.mod;]]>
  383.  
  384. <!-- Forms Module ............................................... -->
  385. <!ENTITY % xhtml-form.module "INCLUDE" >
  386. <![%xhtml-form.module;[
  387. <!ENTITY % xhtml-form.mod
  388. PUBLIC "-//W3C//ELEMENTS XHTML Forms 1.0//EN"
  389. "http://www.w3.org/MarkUp/DTD/xhtml-form-1.mod" >
  390. %xhtml-form.mod;]]>
  391.  
  392. <!-- Target Attribute Module .................................... -->
  393. <!ENTITY % xhtml-target.module "INCLUDE" >
  394. <![%xhtml-target.module;[
  395. <!ENTITY % xhtml-target.mod
  396. PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
  397. "http://www.w3.org/MarkUp/DTD/xhtml-target-1.mod" >
  398. %xhtml-target.mod;]]>
  399.  
  400. <!-- Legacy Markup ............................................... -->
  401. <!ENTITY % xhtml-legacy.module "IGNORE" >
  402. <![%xhtml-legacy.module;[
  403. <!ENTITY % xhtml-legacy.mod
  404. PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
  405. "http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod" >
  406. %xhtml-legacy.mod;]]>
  407.  
  408. <!-- Document Structure Module (required) ....................... -->
  409. <!ENTITY % html.attlist "IGNORE" >
  410. <!ENTITY % head.attlist "IGNORE" >
  411. <!ENTITY % title.attlist "IGNORE" >
  412. <!ENTITY % xhtml-struct.module "INCLUDE" >
  413. <![%xhtml-struct.module;[
  414. <!ENTITY % xhtml-struct.mod
  415. PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
  416. "http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod" >
  417. %xhtml-struct.mod;]]>
  418. <!ENTITY % profile.attrib
  419. "profile %URI.datatype; '%XHTML.profile;'"
  420. >
  421. <!ENTITY % XHTML.version.attrib
  422. "version %FPI.datatype; #FIXED '%XHTML.version;'"
  423. >
  424. <!ATTLIST %html.qname;
  425. %Common.attrib;
  426. %XSI.schemaLocation.attrib;
  427. %XHTML.version.attrib;
  428. >
  429. <!ATTLIST %head.qname;
  430. %Common.attrib;
  431. %profile.attrib;
  432. >
  433. <!ATTLIST %title.qname;
  434. %Common.attrib;
  435. >
  436.  
  437. <!-- end of XHTML-RDFa DTD ................................................ -->
  438. <!-- ....................................................................... -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement