title: XSLT transforming generic nodes to specific nodes
body: <p>I've been struggeling to perform a transformation on a document which has identical node names and needs to be split up in specific nodes. Visually you could say it's transforming rows to columns. This is my source file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Document&gt;
  &lt;Car&gt;
      &lt;Element&gt;
          &lt;Question&gt;Brand&lt;/Question&gt;
          &lt;Answer&gt;Ford&lt;/Answer&gt;
      &lt;/Element&gt;
      &lt;Element&gt;
          &lt;Question&gt;Year&lt;/Question&gt;
          &lt;Answer&gt;1995&lt;/Answer&gt;
      &lt;/Element&gt;
  &lt;/Car&gt;
  &lt;Car&gt;
      &lt;Element&gt;
          &lt;Question&gt;Brand&lt;/Question&gt;
          &lt;Answer&gt;Hummer&lt;/Answer&gt;
      &lt;/Element&gt;
      &lt;Element&gt;
          &lt;Question&gt;Year&lt;/Question&gt;
          &lt;Answer&gt;1990&lt;/Answer&gt;
      &lt;/Element&gt;
  &lt;/Car&gt;
  &lt;/Document&gt;
  </code></pre>
  
  <p>What I need is the following result:</p>
  
  <pre><code>&lt;Document&gt;
      &lt;Car&gt;
          &lt;Brand&gt;Ford&lt;/Brand&gt;
          &lt;Year&gt;1995&lt;/Year&gt;
      &lt;/Car&gt;
      &lt;Car&gt;
          &lt;Brand&gt;Hummer&lt;/Brand&gt;
          &lt;Year&gt;1990&lt;/Year&gt;
      &lt;/Car&gt;
  &lt;/Document&gt;
  </code></pre>
  
  <p>Can anybody help me? </p>