Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > d38b97c69a3fd47b351add70f89a7ab5 > files > 1143

perl-qt4-examples-4.14.3-1.mga5.noarch.rpm

declare variable $where as xs:string := string($fileTree/@filePath);
<html>
  <head>
    <title>All cpp files in: {$where}</title>
  </head>
  <body>
    <p>
      cpp-files found in {$where} sorted by size:
    </p>
    <ul> {
      for $file in $fileTree//file[@suffix = "cpp"]
      order by xs:integer($file/@size)
      return 
        <li>
          {string($file/@fileName)}, size: {string($file/@size)}
        </li>
    } </ul>
  </body>
</html>