Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Vorlesungsverzeichnis>
- {
- for $sws in distinct-values(doc('uni')//Vorlesung/SWS)
- order by $sws
- return
- <Vorlesungen SWS="{$sws}">
- {
- for $v in doc('uni')//Vorlesung[SWS=$sws]
- order by $v/Titel
- return <Vorlesung VorlNr="{$v/@VorlNr}" Titel="{$v/Titel}"></Vorlesung>
- }
- </Vorlesungen>
- }
- </Vorlesungsverzeichnis>
Add Comment
Please, Sign In to add comment