title: How do I define HTML entity references inside a valid XML document?
body: <p>I need to be able to reference named HTML entities like <code>&amp;bull;</code> instead of the Unicode alternative <code>&amp;#8226;</code> in an XML document.  I have control over some parts of the XML document, such as defining the <code>DOCTYPE</code>, but doing a find-and-replace in the actual XML is not an option.  I can get some elements like <code>&amp;nbsp;</code> and <code>&amp;amp;</code> by including the XHTML transitional DOCTYPE, but I need to define more manually.  How do I do this?</p>
  
  <p>-- EDIT --</p>
  
  <p>Thanks to Jim's answer, here's what I ended up with.  This is great because I can utilize the XHTML transitional entities, and also add my own:</p>
  
  <pre><code>&lt;!DOCTYPE
     html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
     [
        &lt;!ENTITY bull  "&amp;#8226;"&gt;
        &lt;!ENTITY ldquo "&amp;#8220;"&gt;
        &lt;!ENTITY rdquo "&amp;#8221;"&gt;
        ... etc ...
     ]
  &gt;
  </code></pre>