author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 16 Apr 2010 15:50:13 +0300 | |
changeset 18 | 2f34d5167611 |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 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> |