FOR $proc IN document("report1")//section[section.title="Procedure"] WHERE NOT exists($proc//anesthesia BEFORE ($proc//incision)[1]) RETURN $proc