[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: count

Subject: Re: count
From: Paul Levin <plevin@xxxxxxx>
Date: Wed, 19 Jan 2000 12:08:06 -0500
count number of occurrence oracle
Marco,
    I think your are looking for the position() function.



Marco.Mistroni@xxxxxxxxx wrote:

> hi all,
>         sorry if it is a FAQ...i am in a hurry...
> suppose that i have 5 tag
> <animal name=hh>
> <animal name=tiger>
> <animal name=cat>
> <animal name=dog>
> <animal name=bear>
>
> i am looking for a function that can count,as the template is applied, which
> number of occurrence is the node(forgive my bad speaking)....
>
> for example, as it parses(again, sorry for the language) animal= hh it
> should return 1
>                                                         animal=tiger
> return 2
>
> sorry if i am stupid or ignorant, but does the function position() does the
> same(or something like that)?
>
> thanx to all
> regards
>         marco
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.