Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
XQuery 3.0
(edit)
Revision as of 10:51, 4 April 2022
16 bytes added
,
10:51, 4 April 2022
→group by
</xml>
for $person in $data/person
group by $country := $person/@country
/string()
return element persons {
attribute country { $country },
for $name in
$person/@name
!
return
element name { data(
$name
) }
}
</syntaxhighlight>
CG
Bureaucrats
, editor, reviewer,
Administrators
13,550
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Table of Contents
Recent Changes
Random Page
PDF Version
Tools
Special pages
Printable version