Subject: Re: check if a node is empty
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 17 Oct 2002 17:35:09 +0200
|
The count is inefficient. Why not simply test="*"??
Regards,
Joerg
Vasu Chakkera wrote:
Jeni, David,
would the following statement
<xsl:template match="node">
....
<xsl:when test="count(*)=0"> ( to check for empty child elements)
----
</xsl:template>
be any inefficient ?( was just thinking of other ways to do it besides
the standard ones you have suggested )
Thanks
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de
VIRBUS hat jetzt als erster deutscher Softwarehersteller die Zertifizierung
für den 3D Secure-Authentifizierungsstandard "Verified by Visa" erhalten.
Details unter
http://www.virbus.de/de/press/pressemitteilung/20020828_verified_by_VISA.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: check if a node is empty, (continued)
- David Carlisle - Thu, 17 Oct 2002 10:43:00 -0400 (EDT)
- Macaulay,Malcolm (US) - Thu, 17 Oct 2002 10:32:06 -0400 (EDT)
- jeremyf - Thu, 17 Oct 2002 10:41:51 -0400 (EDT)
- Vasu Chakkera - Thu, 17 Oct 2002 11:12:08 -0400 (EDT)
- Joerg Heinicke - Thu, 17 Oct 2002 11:31:48 -0400 (EDT) <=
- David Carlisle - Thu, 17 Oct 2002 11:38:14 -0400 (EDT)
- Jeni Tennison - Thu, 17 Oct 2002 11:45:47 -0400 (EDT)
- Vasu Chakkera - Thu, 17 Oct 2002 12:10:18 -0400 (EDT)
- Raghava Rao - Thu, 17 Oct 2002 16:18:20 -0400 (EDT)
|
|