This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:if syntax problem
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 20 Mar 2002 15:59:06 -0000
- Subject: RE: [xsl] xsl:if syntax problem
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <onClick><onClick> is what I meant by a tag with a null
> value.
Well, in the XPath data model it's not a tag with a null value, it's an
element with no children. Which gives you the clue how to test for it:
<xsl:if test="onClick[not(child::node())]">
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list