XQuery mode: added command "expand selection": expands selection to parent expression, respecting XQuery syntax.