<?xml version="1.0" encoding="iso-2022-jp"?>

<!-- Document Type Definition for i-XHTML 2.0 (Experimental)
     
       SYSTEM "https://suika.suikawiki.org/~wakaba/archive/2003/i-xhtml/i-xhtml11.dtd"
     
     This DTD is NOT an official material provided by NTT DoCoMo,
     who developed the i-XHTML language.
     
     For more information about i-XHTML, see
      - <http://www.nttdocomo.co.jp/mc-user/i/xhtml/>
      - <http://www.nttdocomo.co.jp/p_s/imode/xhtml/>

     Copyright 2003-2005 Wakaba <wakaba@suikawiki.org>.  All rights reserved.
     You can use, distribute and/or modify this DTD freely.

     @@ work in progress

     R4.9.18  URLs updated.
-->

<!-- XML declaration of i-XHTML document must be:
     
       <?xml version="1.0" encoding="shift_jis"?>
      
      or
      
        <?xml version="1.0" encoding="utf-8"?>
      
      If you want to comform strictly to various standards, you should not
      use pictograms when charset/encoding name "shift_jis" is used,
      since shift jis + i-mode pictograms does not comform to JIS X 0208:1997
      to which the definition of "shift_jis" encoding name refers.
-->
<!-- DOCTYPE delcaration of i-XHTML document must be:
     
       <!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML
                              i-XHTML(Locale/Ver.=ja/2.0) 1.0//EN"
                      "i-xhtml_4ja_10.dtd">
-->

<!-- Available character / general entity references:
       - &amp;
       - &copy;
       - &gt;
       - &lt;
       - &quot;
       - &reg;
       - &nbsp;
       - &apos;
       - &#x9;
       - &#xA;
       - &#xD;
       - &#x20;-&#x7F;
       - &#xA9;
       - &#xAE;
-->
<!ENTITY amp "&#x26;#x26;">   <!-- AMPERSAND -->
<!ENTITY copy "&#xA9;">       <!-- COPYRIGHT SIGN -->
<!ENTITY gt ">">              <!-- GREATER-THAN SIGN -->
<!ENTITY lt "&#x26;#x3C;">    <!-- LESS-THAN SIGN -->
<!ENTITY quot "&#x22;">       <!-- QUOTATION MARK -->
<!ENTITY reg "&#xAE;">        <!-- REGISTERED SIGN -->
<!ENTITY nbsp "&#xA0;">       <!-- NO-BREAK SPACE -->
<!ENTITY apos "'">            <!-- APOSTROPHE -->

<!-- Data Types
     
     See also XHTML Datatypes Module:
        PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
        SYSTEM "https://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod"
-->

<!-- Display name of address book item, length <= 20.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/tel.html>. -->
<!ENTITY % AddressBookDisplayName.datatype "CDATA">

<!-- Indexing name of address book item
     (U+0009 | U+000A | U+000D | U+0020-U+007E | U+FF61-U+FF9F)+,
     length <= 18.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/tel.html>. -->
<!ENTITY % AddressBookIndexName.datatype "CDATA">

<!-- ("0" |...| "9" | "*" | "#" | "," | "/")+, length <= 128.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/cti.html> -->
<!ENTITY % cti.datatype "CDATA">

<!-- HTTP field-name (case-insensible) -->
<!ENTITY % HTTP.field-name.datatype "CDATA">

<!-- i-CSS style description ("style" attribute) -->
<!ENTITY % i-CSS.datatype "CDATA">

<!-- ("#" object ID) -->
<!ENTITY % iXHTML.Fragment.datatype "CDATA">

<!-- a single character ("access key") : "0" | "1" | ... | "9" | "*" | "#" -->
<!ENTITY % Key.datatype "CDATA">

<!-- nn for pixels or nn% for percentage length -->
<!ENTITY % Length.datatype "CDATA">

<!-- Internet mail address, length <= 50.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/tel.html>. -->
<!ENTITY % MailAddress.datatype "CDATA">

<!-- Internet Media Type (case-insensible) -->
<!ENTITY % MediaType.datatype "CDATA">

<!-- one or more digits (NUMBER) -->
<!ENTITY % Number.datatype "CDATA">

<!-- a Uniform Resource Identifier
     
     Supported schemes are:
       - http:
       - https:
       - mailto:
       - tel:
       - tel-avi:
-->
<!ENTITY % URI.datatype "CDATA">

<!-- textual content -->
<!ENTITY % Text.datatype "CDATA">

<!ENTITY % XHTML.xmlns  "http://www.w3.org/1999/xhtml" >

<!-- Common Attributes
     
     See also XHTML Common Attributes Module:
       PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
       SYSTEM "https://www.w3.org/TR/xhtml-modularization/DTD/xhtml-attribs-1.mod"
-->

<!ENTITY % accesskey.attrib
     "accesskey    %Key.datatype;           #IMPLIED">

<!ENTITY % id.attrib
     "id           ID                       #IMPLIED">

<!ENTITY % height.attrib
     "height       %Length.datatype;        #IMPLIED">

<!ENTITY % href.attrib
     "href         %URI.datatype;           #IMPLIED">

<!ENTITY % style.attrib
     "style        %i-CSS.datatype;         #IMPLIED">

<!ENTITY % utn.attrib
     "utn          (utn)                    #IMPLIED">

<!ENTITY % width.attrib
     "width        %Length.datatype;        #IMPLIED">

<!ENTITY % XHTML.xmlns.attrib
     "xmlns        %URI.datatype;           #FIXED '%XHTML.xmlns;'">

<!-- Document Model -->

<!ENTITY % block "form|pre|blockquote|div|hr|ol|ul|dl|h1|h2|h3|h4|h5|h6|p|
                  table">
<!ENTITY % inline "a|span|br|img|input|object|select|textarea">

<!ENTITY % block.content "(%block;)*">
<!ENTITY % inline.content "(#PCDATA|%inline;)*">
<!ENTITY % flow.content "(#PCDATA|%block;|%inline;)*">

<!ENTITY % Text.content "(#PCDATA)*">
<!ENTITY % i-CSS.content "(#PCDATA)*">
<!ENTITY % object.content "(#PCDATA|%block;|%inline;|param)*">

<!-- Elements -->

<!ELEMENT a %flow.content;>
<!ATTLIST a
      %accesskey.attrib;
      body         %Text.datatype;          #IMPLIED
      cti          %cti.datatype;           #IMPLIED
      email        %MailAddress.datatype;   #IMPLIED
      %href.attrib;
      %id.attrib;
      ijam         IDREF                    #IMPLIED
      ilet         %iXHTML.Fragment.datatype;
                                            #IMPLIED
      irst         %iXHTML.Fragment.datatype;
                                            #IMPLIED
      ista         IDREF                    #IMPLIED
      iswf         %iXHTML.Fragment.datatype;
                                            #IMPLIED
      kana         %AddressBookIndexName.datatype;
                                            #IMPLIED
      subject      %Text.datatype;          #IMPLIED
      telbook      %AddressBookDisplayName.datatype;
                                            #IMPLIED
      %utn.attrib;>
<!-- "href" attribute is required if "ijam" attribute is specified.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/object.html>. -->
<!-- "href" attribute is required if "ista" attribute is specified.
     "ijam" attribute cannot be used if "ista" attribute is used.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/ista.html>. -->
<!-- "subject" and "body" attribute may be wrongly documented.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/mail.html>. -->
<!-- "ilet", "iswf" and "irst" attributes are added by i-XHTML 1.1. -->
<!-- "href" attribute is required if "ilet" attribute is specified.
     <http://www.nttdocomo.co.jp/p_s/imode/tag/ilet.html> -->
<!-- "href" attribute is required if "iswf" attribute is specified.
     <http://www.nttdocomo.co.jp/p_s/imode/tag/iswf.html> -->
<!-- "href" attribute is required if "irst" attribute is specified.
     <http://www.nttdocomo.co.jp/p_s/imode/tag/tagshitei.html> -->

<!ELEMENT base EMPTY>
<!ATTLIST base
      %href.attrib;>

<!ELEMENT div %flow.content;>
<!ATTLIST div
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - background-color: <color> (i-XHTML 1.1; marquee background)
           <http://www.nttdocomo.co.jp/p_s/imode/tag/bgcolor.html>
       - clear: (both | left | right)
       - display: -wap-marquee
       - text-align: (left | center | right)
       - text-decoration: blink
       - -wap-marquee-dir: (rtl | ltr)
       - -wap-marquee-loop: <number>
       - -wap-marquee-style: (scroll | slide | alternate)
-->

<!ELEMENT span %flow.content;>
<!ATTLIST span
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - background-color: <color> (i-XHTML 1.1; marquee)
           <http://www.nttdocomo.co.jp/p_s/imode/tag/bgcolor.html>
       - clear: (both | left | right) (applied when display: -wap-marquee)
       - color: <color>
       - display: -wap-marquee
       - font-size: (xx-small | x-small | small | medium | large |
                     x-large | xx-large | smaller | larger) (i-XHTML 1.1)
       - text-decoration: blink
       - -wap-marquee-dir: (rtl | ltr)
       - -wap-marquee-loop: <number>
       - -wap-marquee-style: (scroll | slide | alternate)
-->

<!ELEMENT blockquote %block.content;>
<!ATTLIST blockquote
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
-->

<!ELEMENT body %block.content;>
<!ATTLIST body
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - background-color: <color>
       - background-image [i-XHTML 2.0]
       - color: <color>
-->

<!ELEMENT style %i-CSS.content;>
<!ATTLIST style
      type         %MediaType.datatype;    "text/css">
<!-- Content is i-CSS style description.
     Only "a:link", "a:visited", "a:focus" can be used for selector.
-->
<!-- Example:
       <style type="text/css">
       <![CDATA[
       a:visited{color:red}
       ]]>
       </style>
-->

<!ELEMENT br EMPTY>

<!-- Table Caption [i-XHTML 2.0] -->
<!ELEMENT caption %flow.content;>

<!ELEMENT dd %flow.content;>

<!ELEMENT ul (li)*>
<!ATTLIST ul
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - list-style-type: (disc | circle | square)
       - clear: (both | left | right)
-->

<!ELEMENT dl (dt|dd)*>
<!ATTLIST dl
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
-->

<!ELEMENT dt %flow.content;>

<!ELEMENT form %block.content;>
<!ATTLIST form
      action       %URI.datatype;           #IMPLIED
      method       (get|post)               #IMPLIED
      %style.attrib;
      %utn.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
-->
<!-- Scheme of action URI should be either:
     - http:
     - https:
     - mailto: (i-XHTML 1.1)
     <http://www.nttdocomo.co.jp/p_s/imode/tag/form2.html>
-->

<!ELEMENT head ((base|style|meta)*,title?,(base|style|meta)*)>

<!ELEMENT h1 %flow.content;>
<!ATTLIST h1
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->
<!ELEMENT h2 %flow.content;>
<!ATTLIST h2
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->
<!ELEMENT h3 %flow.content;>
<!ATTLIST h3
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->
<!ELEMENT h4 %flow.content;>
<!ATTLIST h4
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->
<!ELEMENT h5 %flow.content;>
<!ATTLIST h5
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->
<!ELEMENT h6 %flow.content;>
<!ATTLIST h6
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->

<!ELEMENT hr EMPTY>
<!ATTLIST hr
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - background-color: <color>
       - border-color: <color>
       - border-style: solid
       - clear: (both | left | right)
       - float: (left | none | right)
       - height: <length>
       - width: <length>
-->

<!ELEMENT html (head,body)>
<!ATTLIST html
      %XHTML.xmlns.attrib;>

<!ELEMENT img EMPTY>
<!ATTLIST img
      alt          %Text.datatype;          #IMPLIED
      %height.attrib;
      src          %URI.datatype;           #IMPLIED
      %style.attrib;
      %width.attrib;>
<!-- Available i-CSS attribute name/value:
       - float: (left | right)
       - margin-bottom: <length>
       - margin-left: <length>
       - margin-right: <length>
       - margin-top: <length>
       - vertical-align: (top | middle | bottom)
-->

<!ELEMENT input EMPTY>
<!ATTLIST input
      %accesskey.attrib;
      checked      (checked)                #IMPLIED
      maxlength    %Number.datatype;        #IMPLIED
      name         %Text.datatype;          #IMPLIED
      size         %Number.datatype;        #IMPLIED
      %style.attrib;
      type         (text|password|checkbox|radio|hidden|submit|reset)
                                            #IMPLIED
      value        %Text.datatype;          #IMPLIED>
<!-- Available i-CSS attribute name/value:
       - -wap-input-format: ("*<ja:h>" | "*<ja:hk>" | "*<ja:en>" | "*<ja:n>")
-->

<!ELEMENT li %flow.content;>
<!ATTLIST li
      %style.attrib;
      value        %Text.datatype;          #IMPLIED>
<!-- Available i-CSS attribute name/value:
       - list-style-type: (decimal | upper-alpha | lower-alpha
                           | disc | circle | square)
-->

<!ELEMENT meta EMPTY>
<!ATTLIST meta
      content      %Text.datatype;          #REQUIRED
      http-equiv   %HTTP.field-name.datatype;
                                            #REQUIRED>
<!-- "http-equiv" must be 'http-equiv="content-type"'
     or 'http-equiv="Content-Type"'.
     
     "content" must be either
       content="application/xhtml+xml; charset=Shift_JIS"
     or
       content="application/xhtml+xml; charset=UTF-8".
-->

<!ELEMENT object %object.content;>
<!ATTLIST object
      data         %URI.datatype;           #IMPLIED
      declare      (declare)                #IMPLIED
      %height.attrib;
      %id.attrib;
      type         %MediaType.datatype;     #IMPLIED
      value        %Text.datatype;          #IMPLIED
      %width.attrib;>
<!-- type ("application/x-jam"|"video/3gpp"|"audio/3gpp") #IMPLIED -->
<!-- Content: 0*16param.
     See <http://www.nttdocomo.co.jp/mc-user/i/tag/param.html>. -->
<!-- "width" and "height" attributes are added in i-XHTML 1.1. -->

<!ELEMENT ol (li)*>
<!ATTLIST ol
      start        %Number.datatype;        #IMPLIED
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - list-style-type: (decimal | upper-alpha | lower-alpha)
-->

<!ELEMENT option %Text.content;>
<!ATTLIST option
      selected     (selected)               #IMPLIED
      value        %Text.datatype;          #IMPLIED>

<!ELEMENT p %flow.content;>
<!ATTLIST p
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
       - text-align: (left | center | right)
-->

<!ELEMENT param EMPTY>
<!ATTLIST param
      name         %Text.datatype;          #IMPLIED
      value        %Text.datatype;          #IMPLIED
      valuetype    (data)                   #IMPLIED>

<!ELEMENT pre %flow.content;>
<!ATTLIST pre
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - clear: (both | left | right)
-->

<!ELEMENT select (#PCDATA|option)*>
<!-- #PCDATA is allowed for indenting IDSP (U+0030) -->
<!ATTLIST select
      multiple     (multiple)               #IMPLIED
      name         %Text.datatype;          #IMPLIED
      size         %Number.datatype;        #IMPLIED>

<!-- Table [i-XHTML 2.0] -->
<!ELEMENT table (caption?, tr+)>

<!-- Table Cell [i-XHTML 2.0] -->
<!ELEMENT td %flow.content;>

<!-- Table Header Cell [i-XHTML 2.0] -->
<!ELEMENT th %flow.content;>

<!-- Table Row [i-XHTML 2.0] -->
<!ELEMENT tr (td+)>

<!ELEMENT textarea %Text.content;>
<!ATTLIST textarea
      %accesskey.attrib;
      name         %Text.datatype;          #IMPLIED
      rows         %Number.datatype;        #IMPLIED
      cols         %Number.datatype;        #IMPLIED
      %style.attrib;>
<!-- Available i-CSS attribute name/value:
       - -wap-input-format: ("*<ja:h>" | "*<ja:hk>" | "*<ja:en>" | "*<ja:n>")
-->

<!ELEMENT title %Text.content;>
<!-- title element is not required. -->

<!-- i-xhtml20.dtd ends here -->
