Skip to content

Instantly share code, notes, and snippets.

@jmikola
Created November 28, 2011 06:53
Show Gist options
  • Save jmikola/1399407 to your computer and use it in GitHub Desktop.
Save jmikola/1399407 to your computer and use it in GitHub Desktop.
Modified XHTML DTD for a.caption attribute
<!-- ...................................................................... -->
<!-- XHTML Caption Module ................................................. -->
<!-- file: xhtml-caption-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//arsjerm.net//ELEMENTS XHTML Caption 1.0//EN"
SYSTEM "http://www.arsjerm.net/common/xhtml-caption-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- Caption
caption
This module declares the 'caption' attribute used for supplementing anchor tags.
-->
<!-- add 'caption' attribute to 'a' element -->
<!ATTLIST %a.qname;
caption CDATA #IMPLIED
>
<!-- end of xhtml-caption-1.mod -->
<!-- XHTML 1.1 plus Caption 1.0 DTD ................................ -->
<!-- File: xhtml11-caption.dtd
XHTML 1.1 DTD which loads the optional Caption 1.0 Module.
Public and System Identifiers:
PUBLIC "-//arsjerm.net//DTD XHTML 1.1 plus Caption 1.0//EN"
SYSTEM "http://www.arsjerm.net/common/xhtml11-caption.dtd"
The corresponding DOCTYPE declaration:
<!DOCTYPE html
PUBLIC "-//arsjerm.net//DTD XHTML 1.1 plus Caption 1.0//EN"
"http://www.arsjerm.net/common/xhtml11-caption.dtd">
Original idea: Dave H <[email protected]>
<http://www.dmh.org.uk/>
-->
<!ENTITY % XHTML.version
"-//arsjerm.net//DTD XHTML 1.1 plus Caption 1.0//EN" >
<!ENTITY % xhtml11.mod
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
%xhtml11.mod;
<!ENTITY % xhtml-caption.mod
PUBLIC "-//arsjerm.net//ELEMENTS XHTML Caption 1.0//EN"
"http://www.arsjerm.net/common/xhtml-caption-1.mod" >
%xhtml-caption.mod;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment