Jeskey,
What we do is the following in a couple of our client's minicart code:
HTML Code:
<xsl:param name="ItemCount" select="count(/root/ShoppingCart/Item)" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$ItemCount > 0 and $ItemCount < 3 ">
... code for the minicart if there are SOME items but less than 3 (ok, so that means just either 1 or two items
</xsl:when>
<xsl:when test="$ItemCount > 2">
... code for when there are 3 or more items in the cart
</xsl:when>
<xsl:otherwise>
<!-- No items in the cart so don't do anything -->
</xsl:otherwise>
</xsl:choose>
I would imagine that you would just need to check if the $ItemCount is greater than 0 and keep the empty otherwise statement.
Good luck!