<xsl:template match=" table[ @class=’longtable’ ]
/ tr[ (normalize-space(.)=’’) ] " >
<xsl:if test=" normalize-space(following-sibling::*) != ’’ ">
<xsl:copy>
<xsl:apply-templates select="*|@*|text()|comment()" />
</xsl:copy>
</xsl:if>
</xsl:template>
-_-_-