This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XPath help



Kay Michael wrote:
> 
> > you can use test="count(//*[@name = ./@name]) = 1" :
> 
> eh? "@name" and "./@name" mean the same thing. Perhaps you meant
> @name=//@name, but that predicate will still always be true.
> 

Whoops - that should have been test="count(//*[@name = current()/@name])
= 1"

Which would have answered the original question, if not the real
problem.

Francis.
-- 
Francis Norton.

why not?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]