The xsl code will display & make the document icon link to the sepcific document & open it in edit mode in your content query webpart:
<a href="{$SafeLinkUrl}" title="{@LinkToolTip}">
<xsl:if test="$ItemsHaveStreams = 'True'">
<xsl:attribute name="onclick">
[...]
↧