Qt Reference Documentation

allRecipes.xq Example File

xmlpatterns/recipes/files/allRecipes.xq
 (: Select all recipes. :)
 declare variable $inputDocument external;

 doc($inputDocument)/cookbook/recipe/<p>{string(title)}</p>