This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Identifying empty elements


> <SOME_TAG/>
> <SOME_TAG  SOME_ATTRIBUTE="some_value"/>
> <SOME_TAG>    </SOME_TAG>
> <SOME_TAG>some_text_here</SOME_TAG>
> 
> For my purpose  all but the last one above are empty elements 
> and need to be ignored.

<xsl:if test="not(normalize-space(.))"/>

Mike Kay
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]