|
Subject: Re: [xsl] How to find out number of elements which does not have a particular attribute From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx> Date: Wed, 7 Jul 2004 05:36:30 -0700 (PDT) |
Hello,
Great! very simple solution!!! I am bit relaxed.
Thanks a lot.
regards,
Ranjan
--- "M. David Peterson" <m.david@xxxxxxxxxx> wrote:
> 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>
> > --+--
> >
>
>
--+------------------------------------------------------------------
> 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!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to find out number of, M. David Peterson | Thread | Re: [xsl] How to find out number of, M. David Peterson |
| Re: [xsl] How to find out number of, M. David Peterson | Date | Re: [xsl] How to find out number of, M. David Peterson |
| Month |