xsl-list
[Top] [All Lists]

Re: How to check if an item exists

2004-04-08 02:21:11
try using <xsl:if ....../>

----- Original Message -----
From: "Javier Leyba" <jleyba(_at_)vi3(_dot_)es>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, April 08, 2004 10:13 AM
Subject: [xsl] How to check if an item exists



Hi

I want to use xsl to generate a web page from xml data I retrieve from a
DB
with a java program I made.

Some of data to be showed could exists or not then I need to make an if or
something else to check if data exists. If data exists I want to show a
table with soe other data, if not..I want to show a <div> with a "no data"
message.

How could I do ?

Thanks in advance

<jl>




--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




<Prev in Thread] Current Thread [Next in Thread>