Excluding .cs but not .css
<p>I want to exclude .cs files using xslt and wrote this expression:</p>

<pre><code>&lt;xsl:key name="cs-search" match="wix:Component[contains(wix:File/@Source, '.cs')]"  use="@Id"/&gt;
&lt;xsl:template match="wix:Component[key('cs-search', @Id)]"/&gt;
&lt;xsl:template match="wix:ComponentRef[key('cs-search', @Id)]"/&gt;
</code></pre>

<p>The problem is, it excludes .css files as well, but I want to exclude only .cs files.</p>