[xsl] Re: Unique local-name()

Subject: [xsl] Re: Unique local-name()
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sun, 23 Feb 2003 18:32:23 +0100
"> To check if element name is unique you can just count elements with such
name:
> <xsl:if test="count(/root/*[local-name()=$name])>1">

or

     not(/root/*[local-name()=$name][2])


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL





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


Current Thread