On 09.Dec.2002 -- 10:18 AM, Robert S?semann wrote:
> Hello,
> 
> can you imagine a shorter and more elegant way to ignore null values from
> adb?

esql provides a tag to check for null.

> What I mean is, that I only want to create an <LINKID> element when the
> database not returns a "null" or nothing"
> 
> <xsp:attribute name="LINKID"><esql:get-string
> column="g.unterrubriklink_id"/></xsp:attribute>
> 
> As I have many passages like that, I want to avoid the use of variables and
> ifs.
> 
> How could I do that?

I would suggest to write your own logicsheet (that in turn may use
esql or any other logicsheet.

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to