File: preparationTimes.xq

package info (click to toggle)
qtxmlpatterns-opensource-src 5.15.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,884 kB
  • sloc: xml: 360,343; cpp: 91,994; ansic: 388; sh: 53; sed: 31; makefile: 23
file content (5 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (17)
1
2
3
4
5
(: All recipes with preparation times. :)
declare variable $inputDocument external;

doc($inputDocument)/cookbook/recipe/
<recipe title="{title}" time="{time/@quantity} {time/@unit}"/>