title: Get xsl 1.0 to only show first item in a group within a list
body: <p>This is for a category index of blog posts-I only want to show the category once using xsl v1.0. There will be multiple posts in each category. The desired result is:</p>
  
  <pre><code>Cat Name 1
  cat Name 2
  Cat Name 3 
  </code></pre>
  
  <p>I assume grouping the items and only showing the first one in a group (using the cat name as a key) would work but the Muenchian method is a bit beyond my abilities. So a simpler method or a simple explanation of the Muenchian method would be most appreciated.</p>
  
  <p>The xml</p>
  
  <pre><code>&lt;Root&gt;
  &lt;Schema&gt;
  &lt;Field Type="Lookup" DisplayName="Category name" Required="FALSE" ShowField="Category_x0020_name" Name="Category_x0020_name"  Group="" /&gt;
  &lt;Field ReadOnly="TRUE" Type="Computed" Name="LinkTitle" DisplayName="Post number" /&gt;
  &lt;/Schema&gt;
  &lt;Data ItemCount="1"&gt;
  &lt;Row  Category_x0020_name=""  LinkTitle="" /&gt; 
  &lt;/Data&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>The xsl:</p>
  
  <pre><code> &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  &lt;xsl:output method="html" /&gt;      
    &lt;xsl:template match="/"&gt;
     &lt;table border="0" cellpadding="0" cellspacing="0"&gt;     
   &lt;h3&gt;Categories&lt;/h3&gt;
   &lt;xsl:for-each select="//Data/Row"&gt;
                  &lt;xsl:if test="./@Category_x0020_name !=''"&gt; 
   &lt;tr valign="top"&gt;         &lt;td&gt;               
   &lt;a href="/cat{./@LinkTitle}.aspx"&gt;  
   &lt;xsl:value-of select="./@Category_x0020_name" /&gt;&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt;
   &lt;/xsl:if&gt;
   &lt;/xsl:for-each&gt;
   &lt;/table&gt;
   &lt;/xsl:template&gt; 
   &lt;/xsl:stylesheet&gt; 
  </code></pre>