MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

preparationTimes.xq Example File

xmlpatterns/recipes/files/preparationTimes.xq
 (: All recipes with preparation times. :)
 declare variable $inputDocument external;

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