Subject: Re: Problem with Checking for a node.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 11 Jul 2005 11:50:57 +0100
|
> <xsl:template match="node()|@*">
> <xsl:if test="name(*) !='C'">
> <xsl:value-of select="@name"/>
> </xsl:if>
>
That tests if the first child of the current node has name C (and that
test itself is unrelaiable if namespaces are being used) This isn't the
same thing as testing if the current node is C.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|