title: What is the meaning of DOCTYPE in xml file?
body: <p>In hibernate we use configuration and mapping xml files.
  In xml the first line will be version and then we specify DOCTYPE DTD line.
  Example:</p>
  
  <pre><code>&lt;!DOCTYPE hibernate-mapping PUBLIC  "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"&gt;
  </code></pre>
  
  <p>Can anybody please explain what is the meaning of this? 
  I know that DTD is document type definition which is like defining grammar for the xml. </p>
  
  <p>I want to know the attributes in this statement.</p>