for $e in //entry 
where $e/@type = 'subject'
return $e