AW: [xsl] how to test for the element type of the current node

Subject: AW: [xsl] how to test for the element type of the current node
From: "Zink, Juergen" <Juergen.Zink@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jul 2003 10:08:42 +0200
Hi,

try local-name() or self::B
>	    <xsl:when test="if this node is a B"> <--- this is what I can't
figure out
>		apply-templates for B

	    <xsl:when test="local-name()='B'">
or
	    <xsl:when test="self::B">

>I tried ".=B" inside the test, which doesn't work, I tried just "B", 
>I tried "boolean(B)", nothing works.

Please,

Juergen


*****************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren 
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this e-mail. 
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly forbidden.
*****************************************************************************


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


Current Thread