summaryrefslogtreecommitdiffstats
path: root/examples/xmlpatterns/recipes/files/preparationTimes.xq
blob: cb4217ff62ee298d52401e65ac015d3ec2207407 (plain)
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}"/>