off the top of my head count(//s) should be fine, depending where you calling it in your XSL. http://www.w3.org/TR/xpath#function-count > Stevenson N wrote: > > Hi all, > I have the following XML document: > > > > > > > > > What i want to achieve is do a count of all with an attribute > ba=1. > How can i do that? > Please assist! > > Thanks > > > > --------------------------------- > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > -- > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! ----------------------------------- mark@safefrombees.com ICQ: 3094740 Safe From Bees [www.safefrombees.com]