|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE:
<xsl:if test='Description'> will test for a Description element as a child of the current node. <xsl:if test='not(Description = '')'> will test whether there is a Description child element which does not contain an empty string. -- mark > -----Original Message----- > From: Paul Johnson [mailto:paul@xxxxxxxxxxxxxxx] > Sent: Wednesday, November 03, 1999 2:14 PM > To: XSL-List@xxxxxxxxxxxxxxxx > Subject: > > > Hello All, > > How can I test to see if a element is NOT null? > I have tried the following: > > <xsl:if test="Discription[.!='']"><img > src="images/desc.jpg"/></xsl:if> > > <xsl:if test="Discription != ''><img src="images/desc.jpg"/></xsl:if> > > <xsl:if test="Discription $ne$ ''"<img > src="images/desc.jpg"/></xsl:if> > > I am not sure where to look now. > > Thanks, > > Paul R. Johnson > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








