dee20a7 by Jos van den Oever at 2009-08-23 1
 declare variable $where as xs:string := string($fileTree/@filePath);
2
 <html>
3
   <head>
4
     <title>All cpp files in: {$where}</title>
5
   </head>
6
   <body>
7
     <p>
8
       cpp-files found in {$where} sorted by size:
9
     </p>
10
     <ul> {
11
       for $file in $fileTree//file
12
       order by xs:integer($file/@size)
13
       return
14
         <li>
15
           {string($file/@fileName)}, size: {string($file/@size)}
16
         </li>
17
     } </ul>
18
   </body>
19
 </html>