Hello,
I am building a XSL script that displays a table, there are certain conditions on the display of the data, I need to only display a date in the column orders when there is an entry in the invoices column.
I have tried several ways of doing it but I cannot get the filter to work. Can someone show me how?
This was my last attempt.
<td>
<xsl:choose>
<xsl:when test="invoiced='true'">
<xsl:value-of select="ordered"/>
</xsl:when>
</xsl:choose>
</td>
<td>
<xsl:value-of select="invoiced"/>
</td>
I am building a XSL script that displays a table, there are certain conditions on the display of the data, I need to only display a date in the column orders when there is an entry in the invoices column.
I have tried several ways of doing it but I cannot get the filter to work. Can someone show me how?
This was my last attempt.
<td>
<xsl:choose>
<xsl:when test="invoiced='true'">
<xsl:value-of select="ordered"/>
</xsl:when>
</xsl:choose>
</td>
<td>
<xsl:value-of select="invoiced"/>
</td>