[Home] [By Thread] [By Date] [Recent Entries]
There is one tiny little bit that I want to change. On the output the
categories start with a colon:
02/10/2010;:George:Illness expenses:Pharmacy;Test Pharmacy, Oakland;-19.1; How can I remove this leading colon from the list of categories? I tried the following code without luck: <xsl:template match="Category">
<xsl:variable name="pid" select="@ParentID"/>
<xsl:for-each select="$c">
<xsl:apply-templates select="key('c', $pid)"/>
</xsl:for-each>
<xsl:variable name="parent" select="en"/>
<xsl:if test="string($parent)">
<xsl:value-of select="$parent"/>
<xsl:text>:</xsl:text>
</xsl:if>
</xsl:template>Thanks in advance, George
|

Cart



