changeset 0 | 1918ee327afb |
-1:000000000000 | 0:1918ee327afb |
---|---|
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[@suffix = "cpp"] |
|
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> |