[xsl] How to tell if no data returned

Subject: [xsl] How to tell if no data returned
From: "Garry" <garry@xxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Oct 2006 17:47:41 +0930
Hi all

I have a problem which I would normally fix using a variable. I have a
routine similar to that below. What I want to know is if it doesnt get into
the for-each loop. If it doesnt it means no rows are written and I would
like to add a note to the page if this is the case.

Any suggestions how I might do this.


<xsl:if test="../@type = 'STAGE'">
<xsl:if test="../../../../@cno=$paramVal1">

... row detail written here


Current Thread