hi, danke hab folg. lösung gefunden:
<!-- Delete Content of Message, if InvoiceType = CREDITNOTE -->
<xsl:template match="/">
<xsl:apply-templates select="SALESINVOICE[not(Interchange/HeaderInformation/InvoiceType='CREDITNOTE')]"/>
</xsl:template>