title: XSLT get type of an attribute from DTD
body: <p>Given a valid entry in the DTD of a document:</p>
  
  <pre><code>&lt;!ATTLIST name
                 id  CDATA    #IMPLIED 
                 attribute  ENTITY    #IMPLIED  &gt;
  </code></pre>
  
  <p>How can I get the type of an attribute during xslt transformation, given the name of the attribute and the node?</p>
  
  <p>For example name/@id = 'CDATA'</p>
  
  <p>and name/@attribute = 'ENTITY'</p>
  
  <p>Thanks in advance!</p>