This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl question (Checking for the existance of a tag)
- To: xsl-list at mulberrytech dot com
- Subject: Re: xsl question (Checking for the existance of a tag)
- From: Dan Morrison <dman at es dot co dot nz>
- Date: Tue, 04 Apr 2000 17:41:17 +1200
- Organization: Disorganised
- References: <38E98549.3DE5BAB9@crtc.corp.mot.com>
- Reply-To: xsl-list at mulberrytech dot com
Alankar Chowdhury wrote:
>
> Can
> someone suggest me, how to check if a tag is present in the document.
I don't know why
<xsl:if test="Password">
<td align="center"><xsl:value-of select="Password"/></td>
</xsl:if>
Won't suit your need.
> please consider that there is more data in the document, so I can not
> have a <xsl:if> statement to check if each tag is persent or not ..
How would this be a problem?
Adding & removing columns arbitrarily might mess with your layout, so
you may need to adjust a colspan on a nearby element using the same
test.
.dan.
--
:=====================:====================:
: Dan Morrison : The Web Limited :
: http://here.is/dan : http://web.co.nz :
: dman@es.co.nz : danm@web.co.nz :
: 04 384 1472 : 04 495 8250 :
: 021 115 7339 : :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list