rendered paste body<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:htm="http://www.w3.org/1999/xhtml">
<xsl:template match="htm:td/htm:table">
<xsl:for-each select="htm:tr/htm:td">
<xsl:choose>
<xsl:when test="htm:a[contains(text(),'Wars')]">
<xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
<xsl:template match="text()"/>
</xsl:stylesheet>
<<<<<<<<<<<<<<<<<<<<<<<< matches the slot >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:htm="http://www.w3.org/1999/xhtml">
<xsl:template match="htm:td/htm:table">
<xsl:for-each select="htm:tr/htm:td">
<xsl:choose>
<xsl:when test="htm:a[contains(text(),'Wars')]">
<xsl:value-of select="following::htm:tr"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
<xsl:template match="text()"/>
</xsl:stylesheet>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< selects following >>>>>>>>>>>>>>>>>>>>>>>>>>