title: XSLT fails to transform DITA into new type
body: <p>I have an xml as following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!DOCTYPE concept SYSTEM "aimlDomain.dtd"&gt;
  &lt;?xml-stylesheet type="text/xsl" href="aimlTest.xsl"?&gt;
  &lt;concept&gt;
  &lt;category&gt;
     &lt;pattern&gt;_ TOPIC ELEMENT ATTRIBUTE&lt;/pattern&gt;
     &lt;template&gt;&lt;srai&gt;REQUIRED TOPIC AND MAP ELEMENT ATTRIBUTES&lt;/srai&gt; 
     &lt;/template&gt;
  &lt;/category&gt; 
  &lt;category&gt;
     &lt;pattern&gt;TOPIC ELEMENT ATTRIBUTE _&lt;/pattern&gt;
     &lt;template&gt;&lt;srai&gt;REQUIRED TOPIC AND MAP ELEMENT ATTRIBUTES&lt;/srai&gt; 
     &lt;/template&gt;
  &lt;/category&gt;
  &lt;/concept&gt;
  </code></pre>
  
  <p>The element category is the new domain I add with element specialization, which is specialized from foreign element.I want to transform the file into aiml, a new transformtype.
  The expected output shoud be like this:</p>
  
  <pre><code>`   &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;category&gt;
        &lt;pattern&gt;_ TOPIC ELEMENT ATTRIBUTE&lt;/pattern&gt;
        &lt;template&gt;&lt;srai&gt;REQUIRED TOPIC AND MAP ELEMENT ATTRIBUTES&lt;/srai&gt; 
        &lt;/template&gt;
      &lt;/category&gt;`
  </code></pre>
  
  <p>But there is nothing in the file except the declaratinon.The actual output is as following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>Here is my aimlTest.xsl：</p>
  
  <pre><code>  &lt;xsl:stylesheet version="2.0" 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
      &lt;xsl:template match="*[contains(@class, ' topic/topic topic/concept ')]"&gt;
      &lt;xsl:for-each select="*[contains(@class, ' topic/foreign category-d/category 
      ')]"&gt;
      &lt;xsl:copy-of select="."/&gt;
      &lt;/xsl:for-each&gt;
      &lt;/xsl:template&gt;
      &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>I want to know how to select the expected content.</p>