xsl-list
[Top] [All Lists]

Re: count the number of descending nodes

2004-05-06 07:06:39
<xsl:when test="'count(my) =1'">

your test there is the string 'count(my) =1' and string counts as
true if it is non-empty,which thi sstringis, you don't want a string
you want an Xpath expression, so no '

<xsl:when test="count(my) =1">

David


-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


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