<?xml version="1.0" encoding="UTF-8"?>
<!--[ DocumentType object description ]-->
<interface name="DocumentType" inherits="Node" id="ID-412266927">
  <descr><p>Each <code>Document</code> has a <code>doctype</code> attribute
        whose value is either <code>null</code> or a <code>DocumentType</code>
        object. The <code>DocumentType</code> interface in the DOM Core
      provides an interface to the list of entities that are defined
      for the document, and little else because the effect of
      namespaces and the various XML schema efforts on DTD
      representation are not clearly understood as of this writing.</p>
    <p>The DOM Level 2 doesn't support editing <code>DocumentType</code>
      nodes.</p></descr> 
  <attribute readonly="yes" name="name" type="DOMString" id="ID-1844763134">
    <descr><p>The name of DTD; i.e., the name immediately
	following the <code>DOCTYPE</code> keyword.</p></descr>
  </attribute>
  <attribute readonly="yes" name="entities" type="NamedNodeMap" id="ID-1788794630">
    <descr><p>A <code>NamedNodeMap</code> containing the general entities, both
	external and internal, declared in the DTD. Parameter entities are not 
        contained. Duplicates are discarded.
	For example in:
<eg role="code">&lt;!DOCTYPE ex SYSTEM "ex.dtd" [
  &lt;!ENTITY foo "foo">
  &lt;!ENTITY bar "bar">
  &lt;!ENTITY bar "bar2">
  &lt;!ENTITY % baz "baz">
]>
&lt;ex/></eg>  
	the interface provides access to <code>foo</code> and
	the first declaration of <code>bar</code> but not the second declaration of 
        <code>bar</code> or <code>baz</code>. Every node in this map
	also implements the <code>Entity</code> interface.</p>
        <p>The DOM Level 2 does not support editing entities, therefore
        <code>entities</code> cannot be altered in any way.</p>
    </descr>
  </attribute>
  <attribute readonly="yes" name="notations" type="NamedNodeMap" id="ID-D46829EF">
    <descr><p>A <code>NamedNodeMap</code> containing  the
	notations declared in the DTD. Duplicates are discarded. Every node in
	this map also implements the <code>Notation</code> interface.</p>
        <p>The DOM Level 2 does not support editing notations, therefore
        <code>notations</code> cannot be altered in any way.</p></descr>
  </attribute>

  <!-- ****** DOM Level 2 additions ****** -->
  <attribute readonly="yes" name="publicId" type="DOMString"
    id="ID-Core-DocType-publicId" since="DOM Level 2">
    <descr><p>The public identifier of the external subset.</p></descr>
  </attribute>
  <attribute readonly="yes" name="systemId" type="DOMString"
    id="ID-Core-DocType-systemId" since="DOM Level 2">
    <descr><p>The system identifier of the external subset.</p></descr>
  </attribute>
  <attribute readonly="yes" name="internalSubset" type="DOMString"
    id="ID-Core-DocType-internalSubset" since="DOM Level 2">
    <descr><p>The internal subset as a string.</p>
       <note><p>The actual content returned depends on how much information is
          available to the implementation. This may vary depending on various
          parameters, including the XML processor used to build the
          document.</p>
       </note>
    </descr>
  </attribute>

</interface>
