Re: [xsl] Node name?

Subject: Re: [xsl] Node name?
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Jan 2001 11:15:56 +0100 (MET)
> I have to check the name of an element with <xsl:if> . I know how to 
> check content ( with contains().. ), but I just can't remember how to 
> get an element's name.

name() for the qualified name
local-name() for the local name (without prefix)

Cheers,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


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


Current Thread