[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: How to find out number of elements which does not
Subject: Re: How to find out number of elements which does not have a particular attribute
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Wed, 07 Jul 2004 06:30:35 -0600
|
you need to either add a * to complete your shortcut for "descendant-or-self" reference....
<xsl:variable name="sharedcount1" select="count(connectivity//*[@*[not(local-name() = 'sharedsource')]])"/>
Good luck!
<M:D/>
Ranjan K. Baisak wrote:
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//[@*[not(local-name() =
'sharedsource')]])"/> but this did not work. Do I need
to modify something?
regards,
Ranjan
--- "M. David Peterson" <m.david@xxxxxxxxxx> wrote:
select="count(foo/bar[@*[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@xxxxxxxxxxxxxxxxxxxxxx>
--+--
--+------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxxx>
--+--
__________________________________
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@xxxxxxxxxxxxxxxxxxxxxx>
--+--
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|