xsl-list
[Top] [All Lists]

Re: How to find out number of elements which does not have a particular attribute

2004-07-07 05:24:39
Hello David,
            This looks only "bar" element under "foo"
but under foo there might be other elements too. I
need some generic xpath which can give me the count. I
am using <xsl:variable name="sharedcount1"
select="count(connectivity//[(_at_)*[not(local-name() =
'sharedsource')]])"/> but this did not work. Do I need
to modify something?

regards,
Ranjan
--- "M. David Peterson" <m(_dot_)david(_at_)mdptws(_dot_)com> wrote:
select="count(foo/bar[(_at_)*[not(local-name() =
'bar')]])"

Ranjan K. Baisak wrote:

Hello List,
           Can anybody suggest me how to find out
number of elments which does not have a particular
attribute?

regards,
Ranjan


            
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other
providers!
http://promotions.yahoo.com/new_mail



--+------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--



--+------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail