Improve monthly record culling and Grisbi Bug 232
Status: Beta
Brought to you by:
barrie
<!-- Remove anything not in this year -->
<xsl:template match="transactionRecord">
<xsl:if test="contains(child::date/text(),'/07')">
<xsl:choose>
<!-- Work around for Grisbi Bug 232 -->
<xsl:when test="starts-with(child::payee/text(),'Transfer from 02336700')">
<!-- Ignore these as the will be created in Grisbi when the transfer is setup manually -->
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:template>
Should be able to be handled in multiple template matching (as there is no need to cull to a year) and the xsl:choose could be handled by its own match.