<!-- Vincent Lefevre's website XML DTD -->

<!-- Note: Always use this DTD for files from www, not one of the common
     DTDs, like Norman Walsh's "website.dtd" or "website-full.dtd". Even
     if they are equivalent, the declared DTD of the XML files will not
     have to be changed from the initially chosen DTD into my DTD if my
     DTD is needed. And it is more consistent if all files use the same
     DTD.

     This DTD could be always identified with a local system identifier
     like SYSTEM "DTD/website.dtd", but this would require DTD symlinks
     in each subdirectory. The best solution is

     <!DOCTYPE webpage SYSTEM "http://www.vinc17.org/DTD/website.dtd">

     and using a catalog.

     2011-08-10: Replaced DocBook related code (DocBook 4.5 with its
       changes) by my own docbook-vl.dtd so that this modified DocBook
       DTD can be used by other DTD's, avoiding code duplication.
     2011-06-01: Added reflang attribute on link, olink and ulink.
     2009-04-30: Replaced Norman Walsh's Website Full V2.5.0 DTD
       (website-full.dtd) by DocBook 4.5 and website.mod (simplified
       version of Norman Walsh's Website Module V2.6, sufficient for
       my files). Disabled the HTML table model in DocBook (due to a
       clash in V4.5). Removed DocBook changes that are now in V4.5.
     2008-02-09: Added code and package entities from DocBook 4.5
       (because website-full.dtd uses an old DocBook version) and
       added new systemitem element from DocBook 4.5.
     2008-02-03: Added "style" to common attributes.
     2004-09-08: Added MathML support. Code inspired by
       http://www.oasis-open.org/docbook/xml/mathml/1.0/dbmathml.dtd
-->

<!ENTITY % mathml-colon  ':'>
<!ENTITY % mathml-prefix 'mml'>

<!-- Replace the entity definitions from "dbpoolx.mod". -->
<!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))">
<!ENTITY % inlineequation.content "(alt?, (graphic+|inlinemediaobject+|mml:math))">

<!ENTITY % local.para.class "|sep">

<!ENTITY % docbook-vl SYSTEM "http://www.vinc17.org/DTD/docbook-vl.dtd">
%docbook-vl;

<!ENTITY % website.mod SYSTEM "website.mod">
%website.mod;

<!-- Tell the MathML DTD to do the right prefixing. -->
<!ENTITY % NS.prefixed   "INCLUDE">
<!ENTITY % MATHML.prefix "%mathml-prefix;">
<!ENTITY % NamespaceDecl.attrib "
        xmlns:mml       CDATA   #FIXED 'http://www.w3.org/1998/Math/MathML'
">

<!ENTITY % mathml
    PUBLIC "-//W3C//DTD MathML 2.0//EN"
    "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">
%mathml;

<!ELEMENT sep EMPTY>

<!-- $Id: website.dtd 104646 2017-12-25 22:37:22Z vinc17/joooj $ -->
