File: preparationLessThan30.xq

package info (click to toggle)
qt4-x11 4%3A4.6.3-4%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 492,264 kB
  • ctags: 357,998
  • sloc: cpp: 2,012,312; ansic: 339,657; sh: 27,091; xml: 14,637; perl: 9,454; python: 6,289; yacc: 5,342; asm: 2,515; makefile: 869; ruby: 503; pascal: 495; cs: 112; objc: 65; sed: 34
file content (9 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
(: All recipes taking 10 minutes or less to prepare. :)
declare variable $inputDocument external;

doc($inputDocument)/cookbook/recipe/time[@unit = "minutes" and xs:integer(@quantity) <= 10]/
<p>
    {
       concat(../title, ' (', @quantity, ' ', @unit, ')')
    }
</p>