xquery version "1.0"; import module namespace raweb = "http://raweb.inria.fr/" at "../squekettes_lanceur/raweb-module2.xq"; declare variable $proj as xs:string external; { attribute xmlns {"http://www.w3.org/1999/xhtml"} } RAWEB teams summary

RAWEB teams summary

{ raweb:count-projects() } projects

Count persons for project {$proj}

{ for $project in /raweb/identification let $persons := count($project//person) where string($project/shortname)=$proj return }
ProjectPersons
{ string($project/shortname) }{ $persons } { raweb:list-members(string($proj)) }