To create a new XQuery document select → (Ctrl+N) and when the New Document dialog appears select XQuery entry.
Once you created the new document <oXygen/> provides syntax highlight for keywords and all known XQuery functions and operators. Also for these there is available a content completion component that can be activated by pressing Ctrl+Space keys. The functions and operators are presented together with a comment about parameters and functionality.