title: How to eliminate duplicate nodes bases on values of multiple attributes?
body: <p>How can I eliminate duplicate nodes based on values of multiple (more than 1) attributes? Also the attribute names are passed as parameters to the stylesheet. Now I am aware of the Muenchian method of grouping that uses a <code>&lt;xsl:key&gt;</code> element. But I came to know that XSLT 1.0 does not allow paramters/variables in <code>&lt;xsl:key&gt;</code>. </p>
  
  <p>Is there another method(s) to achieve duplicate nodes removal? It is fine if it not as efficient as the Munechian method.</p>
  
  <p><strong>Update from previus <a href="https://stackoverflow.com/questions/4554285/exclude-last-occurance-of-duplicate-nodes-duplicates-nodes-are-nodes-with-multip">question</a>:</strong> </p>
  
  <blockquote>
    <p>XML:</p>
  
  <pre><code>&lt;data id = "root"&gt;
    &lt;record id="1" operator1='xxx' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="2" operator1='abc' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="3" operator1='abc' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="4" operator1='xxx' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="5" operator1='xxx' operator2='lkj' operator3='tyu'/&gt;
    &lt;record id="6" operator1='xxx' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="7" operator1='abc' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="8" operator1='abc' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="9" operator1='xxx' operator2='yyy' operator3='zzz'/&gt;
    &lt;record id="10" operator1='rrr' operator2='yyy' operator3='zzz'/&gt;
  &lt;/data&gt;
  </code></pre>
  </blockquote>