I need to show table, if array have elements, and some another block, if array is empty? I have only for-each now. My array has "items" name.
<some table header code...>
<xsl:for-each select="items/item">
<some row code...>
</xsl:for-each>
I want another variant, something like this, but in XSL style:
<xsl:if list is empty>
<block> There is no elements!!! </block>
<xsl:else>
<table code>
</xsl:if>
How i can do it? I need if for FOP (pdf generator).