Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- ....................................................................... -->
- <!-- XHTML 1.1 + RDFa DTD ................................................. -->
- <!-- file: xhtml-rdfa-1.dtd
- -->
- <!-- XHTML 1.1 + RDFa DTD
- This is an example markup language combining XHTML 1.1 and the RDFa
- modules.
- XHTML+RDFa
- Copyright 1998-2008 World Wide Web Consortium
- (Massachusetts Institute of Technology, European Research Consortium
- for Informatics and Mathematics, Keio University).
- All Rights Reserved.
- Permission to use, copy, modify and distribute the XHTML DTD and its
- accompanying documentation for any purpose and without fee is hereby
- granted in perpetuity, provided that the above copyright notice and
- this paragraph appear in all copies. The copyright holders make no
- representation about the suitability of the DTD for any purpose.
- It is provided "as is" without expressed or implied warranty.
- -->
- <!-- This is the driver file for version 1 of the XHTML + RDFa DTD.
- Please use this public identifier to identify it:
- "-//W3C//DTD XHTML+RDFa 1.0//EN"
- -->
- <!ENTITY % XHTML.version "XHTML+RDFa 1.0" >
- <!-- Use this URI to identify the default namespace:
- "http://www.w3.org/1999/xhtml"
- See the Qualified Names module for information
- on the use of namespace prefixes in the DTD.
- Note that XHTML namespace elements are not prefixed by default,
- but the XHTML namespace prefix is defined as "xhtml" so that
- other markup languages can extend this one and use the XHTML
- prefixed global attributes if required.
- -->
- <!ENTITY % NS.prefixed "IGNORE" >
- <!ENTITY % XHTML.prefix "xhtml" >
- <!-- Be sure to include prefixed global attributes - we don't need
- them, but languages that extend XHTML 1.1 might.
- -->
- <!ENTITY % XHTML.global.attrs.prefixed "INCLUDE" >
- <!-- Reserved for use with the XLink namespace:
- -->
- <!ENTITY % XLINK.xmlns "" >
- <!ENTITY % XLINK.xmlns.attrib "" >
- <!-- For example, if you are using XHTML 1.1 directly, use the public
- identifier in the DOCTYPE declaration, with the namespace declaration
- on the document element to identify the default namespace:
- <?xml version="1.0"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xml:lang="en">
- ...
- </html>
- Revisions:
- (none)
- -->
- <!-- reserved for future use with document profiles -->
- <!ENTITY % XHTML.profile "" >
- <!-- ensure XHTML Notations are disabled -->
- <!ENTITY % xhtml-notations.module "IGNORE" >
- <!-- Bidirectional Text features
- This feature-test entity is used to declare elements
- and attributes used for bidirectional text support.
- -->
- <!ENTITY % XHTML.bidi "INCLUDE" >
- <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
- <!-- Pre-Framework Redeclaration placeholder .................... -->
- <!-- this serves as a location to insert markup declarations
- into the DTD prior to the framework declarations.
- -->
- <!ENTITY % xhtml-prefw-redecl.module "IGNORE" >
- <!ENTITY % xhtml-prefw-redecl.mod "" >
- <![%xhtml-prefw-redecl.module;[
- %xhtml-prefw-redecl.mod;
- <!-- end of xhtml-prefw-redecl.module -->]]>
- <!-- we need the datatypes now -->
- <!ENTITY % xhtml-datatypes.module "INCLUDE" >
- <![%xhtml-datatypes.module;[
- <!ENTITY % xhtml-datatypes.mod
- PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-datatypes-1.mod" >
- %xhtml-datatypes.mod;]]>
- <!-- bring in the RDFa attributes cause we need them in Common -->
- <!ENTITY % xhtml-metaAttributes.module "INCLUDE" >
- <![%xhtml-metaAttributes.module;[
- <!ENTITY % xhtml-metaAttributes.mod
- PUBLIC "-//W3C//ENTITIES XHTML MetaAttributes 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-metaAttributes-1.mod" >
- %xhtml-metaAttributes.mod;]]>
- <!ENTITY % xhtml-events.module "INCLUDE" >
- <!ENTITY % Common.extra.attrib
- "href %URI.datatype; #IMPLIED
- %Metainformation.attrib;"
- >
- <!-- adding the lang attribute into the I18N collection -->
- <!ENTITY % lang.attrib
- "xml:lang %LanguageCode.datatype; #IMPLIED
- lang %LanguageCode.datatype; #IMPLIED"
- >
- <!-- Inline Style Module ........................................ -->
- <!ENTITY % xhtml-inlstyle.module "INCLUDE" >
- <![%xhtml-inlstyle.module;[
- <!ENTITY % xhtml-inlstyle.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Inline Style 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-inlstyle-1.mod" >
- %xhtml-inlstyle.mod;]]>
- <!-- declare Document Model module instantiated in framework
- -->
- <!ENTITY % xhtml-model.mod
- PUBLIC "-//W3C//ENTITIES XHTML+RDFa Document Model 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-1.mod" >
- <!-- Modular Framework Module (required) ......................... -->
- <!ENTITY % xhtml-framework.module "INCLUDE" >
- <![%xhtml-framework.module;[
- <!ENTITY % xhtml-framework.mod
- PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-framework-1.mod" >
- %xhtml-framework.mod;]]>
- <!-- Post-Framework Redeclaration placeholder ................... -->
- <!-- this serves as a location to insert markup declarations
- into the DTD following the framework declarations.
- -->
- <!ENTITY % xhtml-postfw-redecl.module "IGNORE" >
- <!ENTITY % xhtml-postfw-redecl.mod "">
- <![%xhtml-postfw-redecl.module;[
- %xhtml-postfw-redecl.mod;
- <!-- end of xhtml-postfw-redecl.module -->]]>
- <!-- Text Module (Required) ..................................... -->
- <!ENTITY % xhtml-text.module "INCLUDE" >
- <![%xhtml-text.module;[
- <!ENTITY % xhtml-text.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Text 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-text-1.mod" >
- %xhtml-text.mod;]]>
- <!-- Hypertext Module (required) ................................. -->
- <!ENTITY % a.attlist "IGNORE" >
- <!ENTITY % xhtml-hypertext.module "INCLUDE" >
- <![%xhtml-hypertext.module;[
- <!ENTITY % xhtml-hypertext.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod" >
- %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
- >
- <!-- Lists Module (required) .................................... -->
- <!ENTITY % xhtml-list.module "INCLUDE" >
- <![%xhtml-list.module;[
- <!ENTITY % xhtml-list.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-list-1.mod" >
- %xhtml-list.mod;]]>
- <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
- <!-- Edit Module ................................................ -->
- <!ENTITY % xhtml-edit.module "INCLUDE" >
- <![%xhtml-edit.module;[
- <!ENTITY % xhtml-edit.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Editing Elements 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-edit-1.mod" >
- %xhtml-edit.mod;]]>
- <!-- BIDI Override Module ....................................... -->
- <!ENTITY % xhtml-bdo.module "%XHTML.bidi;" >
- <![%xhtml-bdo.module;[
- <!ENTITY % xhtml-bdo.mod
- PUBLIC "-//W3C//ELEMENTS XHTML BIDI Override Element 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-bdo-1.mod" >
- %xhtml-bdo.mod;]]>
- <!-- Ruby Module ................................................ -->
- <!ENTITY % Ruby.common.attlists "INCLUDE" >
- <!ENTITY % Ruby.common.attrib "%Common.attrib;" >
- <!ENTITY % xhtml-ruby.module "INCLUDE" >
- <![%xhtml-ruby.module;[
- <!ENTITY % xhtml-ruby.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Ruby 1.0//EN"
- "http://www.w3.org/TR/ruby/xhtml-ruby-1.mod" >
- %xhtml-ruby.mod;]]>
- <!-- Presentation Module ........................................ -->
- <!ENTITY % xhtml-pres.module "INCLUDE" >
- <![%xhtml-pres.module;[
- <!ENTITY % xhtml-pres.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Presentation 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod" >
- %xhtml-pres.mod;]]>
- <!ENTITY % link.attlist "IGNORE" >
- <!-- Link Element Module ........................................ -->
- <!ENTITY % xhtml-link.module "INCLUDE" >
- <![%xhtml-link.module;[
- <!ENTITY % xhtml-link.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Link Element 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-link-1.mod" >
- %xhtml-link.mod;]]>
- <!ATTLIST %link.qname;
- %Common.attrib;
- charset %Charset.datatype; #IMPLIED
- hreflang %LanguageCode.datatype; #IMPLIED
- type %ContentType.datatype; #IMPLIED
- media %MediaDesc.datatype; #IMPLIED
- >
- <!-- Document Metainformation Module ............................ -->
- <!ENTITY % meta.attlist "IGNORE" >
- <!ENTITY % xhtml-meta.module "INCLUDE" >
- <![%xhtml-meta.module;[
- <!ENTITY % xhtml-meta.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-meta-1.mod" >
- %xhtml-meta.mod;]]>
- <!ATTLIST %meta.qname;
- %Common.attrib;
- http-equiv NMTOKEN #IMPLIED
- name NMTOKEN #IMPLIED
- scheme CDATA #IMPLIED
- >
- <!-- Base Element Module ........................................ -->
- <!ENTITY % xhtml-base.module "INCLUDE" >
- <![%xhtml-base.module;[
- <!ENTITY % xhtml-base.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod" >
- %xhtml-base.mod;]]>
- <!-- Scripting Module ........................................... -->
- <!ENTITY % script.attlist "IGNORE" >
- <!ENTITY % xhtml-script.module "INCLUDE" >
- <![%xhtml-script.module;[
- <!ENTITY % xhtml-script.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Scripting 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-script-1.mod" >
- %xhtml-script.mod;]]>
- <!ATTLIST %script.qname;
- %XHTML.xmlns.attrib;
- %id.attrib;
- %Metainformation.attrib;
- href %URI.datatype; #IMPLIED
- xml:space ( preserve ) #FIXED 'preserve'
- charset %Charset.datatype; #IMPLIED
- type %ContentType.datatype; #REQUIRED
- src %URI.datatype; #IMPLIED
- defer ( defer ) #IMPLIED
- >
- <!-- Style Sheets Module ......................................... -->
- <!ENTITY % style.attlist "IGNORE" >
- <!ENTITY % xhtml-style.module "INCLUDE" >
- <![%xhtml-style.module;[
- <!ENTITY % xhtml-style.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Style Sheets 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-style-1.mod" >
- %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
- >
- <!-- Image Module ............................................... -->
- <!ENTITY % xhtml-image.module "INCLUDE" >
- <![%xhtml-image.module;[
- <!ENTITY % xhtml-image.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-image-1.mod" >
- %xhtml-image.mod;]]>
- <!-- Client-side Image Map Module ............................... -->
- <!ENTITY % area.attlist "IGNORE" >
- <!ENTITY % xhtml-csismap.module "INCLUDE" >
- <![%xhtml-csismap.module;[
- <!ENTITY % xhtml-csismap.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-csismap-1.mod" >
- %xhtml-csismap.mod;]]>
- <!ATTLIST %area.qname;
- %Common.attrib;
- shape %Shape.datatype; 'rect'
- coords %Coords.datatype; #IMPLIED
- nohref ( nohref ) #IMPLIED
- alt %Text.datatype; #REQUIRED
- tabindex %Number.datatype; #IMPLIED
- accesskey %Character.datatype; #IMPLIED
- >
- <!-- Server-side Image Map Module ............................... -->
- <!ENTITY % xhtml-ssismap.module "INCLUDE" >
- <![%xhtml-ssismap.module;[
- <!ENTITY % xhtml-ssismap.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Server-side Image Maps 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-ssismap-1.mod" >
- %xhtml-ssismap.mod;]]>
- <!-- Param Element Module ....................................... -->
- <!ENTITY % param.attlist "IGNORE" >
- <!ENTITY % xhtml-param.module "INCLUDE" >
- <![%xhtml-param.module;[
- <!ENTITY % xhtml-param.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Param Element 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-param-1.mod" >
- %xhtml-param.mod;]]>
- <!ATTLIST %param.qname;
- %XHTML.xmlns.attrib;
- %id.attrib;
- %Metainformation.attrib;
- href %URI.datatype; #IMPLIED
- name CDATA #REQUIRED
- value CDATA #IMPLIED
- valuetype ( data | ref | object ) 'data'
- type %ContentType.datatype; #IMPLIED
- >
- <!-- Embedded Object Module ..................................... -->
- <!ENTITY % xhtml-object.module "INCLUDE" >
- <![%xhtml-object.module;[
- <!ENTITY % xhtml-object.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-object-1.mod" >
- %xhtml-object.mod;]]>
- <!-- Tables Module ............................................... -->
- <!ENTITY % xhtml-table.module "INCLUDE" >
- <![%xhtml-table.module;[
- <!ENTITY % xhtml-table.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Tables 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-table-1.mod" >
- %xhtml-table.mod;]]>
- <!-- Forms Module ............................................... -->
- <!ENTITY % xhtml-form.module "INCLUDE" >
- <![%xhtml-form.module;[
- <!ENTITY % xhtml-form.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Forms 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-form-1.mod" >
- %xhtml-form.mod;]]>
- <!-- Target Attribute Module .................................... -->
- <!ENTITY % xhtml-target.module "INCLUDE" >
- <![%xhtml-target.module;[
- <!ENTITY % xhtml-target.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-target-1.mod" >
- %xhtml-target.mod;]]>
- <!-- Legacy Markup ............................................... -->
- <!ENTITY % xhtml-legacy.module "IGNORE" >
- <![%xhtml-legacy.module;[
- <!ENTITY % xhtml-legacy.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod" >
- %xhtml-legacy.mod;]]>
- <!-- Document Structure Module (required) ....................... -->
- <!ENTITY % html.attlist "IGNORE" >
- <!ENTITY % head.attlist "IGNORE" >
- <!ENTITY % title.attlist "IGNORE" >
- <!ENTITY % xhtml-struct.module "INCLUDE" >
- <![%xhtml-struct.module;[
- <!ENTITY % xhtml-struct.mod
- PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod" >
- %xhtml-struct.mod;]]>
- <!ENTITY % profile.attrib
- "profile %URI.datatype; '%XHTML.profile;'"
- >
- <!ENTITY % XHTML.version.attrib
- "version %FPI.datatype; #FIXED '%XHTML.version;'"
- >
- <!ATTLIST %html.qname;
- %Common.attrib;
- %XSI.schemaLocation.attrib;
- %XHTML.version.attrib;
- >
- <!ATTLIST %head.qname;
- %Common.attrib;
- %profile.attrib;
- >
- <!ATTLIST %title.qname;
- %Common.attrib;
- >
- <!-- end of XHTML-RDFa DTD ................................................ -->
- <!-- ....................................................................... -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement