Warning, /libraries/binschema/cpp/listcppfiles.xq is written in an unsupported language. File is not indexed.

0001  declare variable $where as xs:string := string($fileTree/@filePath);
0002  <html>
0003    <head>
0004      <title>All cpp files in: {$where}</title>
0005    </head>
0006    <body>
0007      <p>
0008        cpp-files found in {$where} sorted by size:
0009      </p>
0010      <ul> {
0011        for $file in $fileTree//file
0012        order by xs:integer($file/@size)
0013        return
0014          <li>
0015            {string($file/@fileName)}, size: {string($file/@size)}
0016          </li>
0017      } </ul>
0018    </body>
0019  </html>