title: XML to XML using XSL Problem
body: <p>I'd like to convert an XML file into another XML file with a different structure using XSL and I'm kindda new to XSL. The input section of the XML goes like this:</p>
  
  <pre><code>&lt;set&gt;
      &lt;object&gt; Value &lt;/object&gt;
          &lt;name&gt; Value &lt;/name&gt;
          &lt;tag&gt;
              &lt;event&gt; Value &lt;/event&gt;
              &lt;group&gt; Value &lt;/group&gt;
              &lt;other&gt; Value &lt;/other&gt;
          &lt;/tag&gt;
      &lt;object&gt;
      &lt;object&gt;...&lt;/object&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>I would like the desired output to be:</p>
  
  <pre><code>&lt;set&gt;
      &lt;event&gt;
          &lt;group&gt;
              &lt;object name="value"&gt;
                  &lt;tag&gt;
                      &lt;other&gt; Value &lt;/other&gt;
                  &lt;/tag&gt;
              &lt;/object&gt;
          &lt;group&gt;
          &lt;group&gt;...&lt;/group&gt;
      &lt;event&gt;...&lt;/event&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>Meaning to say I'd like to search through the input xml and group the objects according to say the 'event' nodes followed by the 'group' nodes with the same value instead. Help?</p>