I am writing an XSL document, using which I need to print a report.
The report will have two tables and the table values and lables/header column should be displayed only if there is data in my JAVA object of class "Transfers".
I thought of using <xsl:if> condition to check if there is any data in the object of class Transfers, and then if there is no data then I will not print the table. But it dosent seems to work.
I am not sure how can I check for object "transfers" of class "Tranfers" as null.(i.e. whether the object has any value or it is null)
I tried below things, but it didnt work
<xsl:if test="transfers!=null">
<xsl:if test="not(transfers)">
If anyone has any other idea to do it, then please suggest.