for $t in document("recipes.xml")//recipe let $i := $t[.//ingredient/@name="butter"] return $i/title