|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re:
Paul, Testing the value of an Element will only test for text descendants, not element content. You'll probably want to try something like <xsl:if test="(count(Description/*)+count(Description/text()))>0"> ... </xsl:if> --Keith Paul Johnson wrote: > 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








