xsl-list
[Top] [All Lists]

Re: Unique local-name()

2003-02-23 10:32:23

"> 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



<Prev in Thread] Current Thread [Next in Thread>