xsl-list
[Top] [All Lists]

Re: test if null

2005-06-28 04:12:40
Hi,

I thought that select="*" did not process text() elements...?
Am I wrong in this?

If I am right, then this test would not be enough to check whether it
is an empty element, but Jay will have to test on node instead, that
is <xsl:if test="node()">...
(Or perhaps more <xsl:if test="*|text()">...)

Regards,
Ragulf Pickaxe :-)


  3. <xsl:if test="not(count(*) = 0)"/>
That is equivalent to
<xsl:if test="*"/>

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>