Subject: RE: [xsl] find out if a element is empty From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 8 Apr 2003 12:31:50 +0300 |
> how can I use xsl:if to find out if a xml element is emty or not. <xsl:if test="foo/node()"> will return true if the element has content. > And is it the same thing when its emty or its not there? the above will return false if the element doesn't exist. Cheers, Jarno - Skinny Puppy: Worlock (Live) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] find out if a element is , John Barden | Thread | [xsl] Other about to get a comma de, David Pacheco |
Re: [xsl] find out if a element is , Alexander Johannesen | Date | Re: [xsl] find out if a element is , David Carlisle |
Month |