If you can be sure that there are 5 preceding lines then something like this should work:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rslt="http://www.mythicsoft.com/FileLocator_16Aug2005"
version="1.0">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:apply-templates select="//rslt:line"/>
</xsl:template>
<xsl:template match="rslt:line">
<xsl:if test="@rslt:linetype='found'">
<xsl:text>Preceding:</xsl:text>
<xsl:value-of select="preceding-sibling::*[5]/rslt:text"/>
<xsl:text> </xsl:text>
<xsl:text>Text:</xsl:text>
<xsl:value-of select="rslt:text"/>
<xsl:text> </xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
Don't forget to change the Surrounding Lines so that Line before is at least 5.