title: Can XML attributes have spaces?
body: <p>I'm creating a <a href="http://www.xmlfiles.com/dtd/" rel="noreferrer">DTD</a> for an xml document.  I have an <a href="http://www.xmlfiles.com/dtd/dtd_attributes.asp" rel="noreferrer">Enumerated attribute</a> for an xml element.  My question is:  Can the attribute <strong>Type</strong> have spaces?</p>
  
  <p>eg:</p>
  
  <pre><code>  &lt;!ELEMENT Link (#PCDATA)&gt;
    &lt;!ATTLIST Link Type (Amendment|Reference|Superseded|Modified|
    Corrigendum|Corresponds|Endorsement|Equivalent|Identical|Modified|
    Not Equivalent|Note taken of|Related|Similar) "Reference"&gt;
  </code></pre>
  
  <p>So what I would like is:</p>
  
  <pre><code>  &lt;Link Type="Not Equivalent" \&gt;
  </code></pre>
  
  <p>But that seems to barf.</p>
  
  <p>Is there some magic voodoo I need to do for spaces?  Or is it just tough luck?</p>
  
  <p>I looked in a <a href="http://www.w3schools.com/XML/xml_attributes.asp" rel="noreferrer">few</a> <a href="http://www.javacommerce.com/displaypage.jsp?name=attribut.sql&amp;id=18238" rel="noreferrer">spots</a> but couldn't see any reference</p>
  
  <p>Thanks!</p>
  
  <p><strong>Update</strong></p>
  
  <p>Sorry - when I say barf, I mean that when I try to validate the document (Eg Open it in a web browser) I get an error message:  Invalid character found in ATTLIST enumeration. Error processing resource 'file:///C:/myxmldocument.xml'. ...</p>