This tutorial has taught you how to query XML data. As you already know, XQuery is designed to query any data that exists in XML form, including databases. You also learned how to use FLWOR expressions to query XML data and how to construct XHTML output from selected data. The next step is to learn XLink and XPointer.