To export a table, select the menu File->Export->XML. The following window appears:
Figure 9.3. The XML export dialog
Enter the filename and set the other properties to the correct values and then press the "OK" button.
Of course it is also possible to export queries and views.