Using XSLT, I need to remove a complete table row when a column contains only "Jack", I made it but it remove all the rows after the match
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template name="ident" match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="tr">
<xsl:if test="../../tr/td[text()='Jack']">
<xsl:call-template name="ident" />
</xsl:if>
</xsl:template>
<table>
<th>
<td>Contestant</td>
<td>Score</td>
<td>Country</td>
</th>
<tr>
<td>Jack</td>
<td>0.00</td>
<td>AUS</td>
</tr>
<tr>
<td>Jill</td>
<td>-</td>
<td>-</td>
</tr>
</table>