Send querystring to Xslt
1. Define querystring in .webpart file
<property name="ParameterBindings" type="string"><ParameterBinding Location="QueryString(category)" Name="CategoryString"/></property>
or equivalent in .aspx file
<ParameterBindings>
<ParameterBinding Name="CategoryString" Location="QueryString(category)"/>
</ParameterBindings>
2. Add parameter to ContentQueryMain.xsl
<xsl:param name="CategoryString"/>
3. Use it in ContentQueryMain.xsl
From query string: <xsl:value-of select="$CategoryString"/>
so if you use link: https://server/sitecollection/default.aspx?category=dogs, $CategoryString=dogs is sent to xslt.