Basex Documentation
Total Page:16
File Type:pdf, Size:1020Kb
BaseX Documentation Version 9.1 BaseX Documentation: Version 9.1 Publication date 2018-10-31 Content is available under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0). Table of Contents 1. Main Page ................................................................................................................................ 1 Getting Started .................................................................................................................... 1 XQuery Portal ..................................................................................................................... 1 Advanced User's Guide ......................................................................................................... 2 I. Getting Started .......................................................................................................................... 3 2. Getting Started .................................................................................................................. 4 Overview .................................................................................................................... 4 3. Startup ............................................................................................................................. 6 Getting Started ............................................................................................................ 6 Distributions ........................................................................................................ 6 Requirements ....................................................................................................... 7 Concurrent Operations .......................................................................................... 7 Standalone .................................................................................................................. 7 Graphical User Interface ................................................................................................ 7 Client/Server ............................................................................................................... 8 Server ................................................................................................................ 8 Client ................................................................................................................. 8 HTTP Server ............................................................................................................... 8 Database Administration ........................................................................................ 9 Changelog ................................................................................................................... 9 4. Command-Line Options .................................................................................................... 10 Standalone ................................................................................................................. 10 Server ....................................................................................................................... 12 Client ....................................................................................................................... 13 HTTP Server ............................................................................................................. 15 GUI ......................................................................................................................... 16 Changelog ................................................................................................................. 16 5. Start Scripts .................................................................................................................... 18 Main Package ............................................................................................................ 18 Windows: basex.bat ............................................................................................ 18 Linux/Mac: basex ............................................................................................... 18 HTTP Server ............................................................................................................. 19 Windows: basexhttp.bat ....................................................................................... 19 Linux/Mac: basexhttp .......................................................................................... 19 Changelog ................................................................................................................. 19 II. User Interfaces ........................................................................................................................ 20 6. Graphical User Interface ................................................................................................... 21 Startup ...................................................................................................................... 21 Text Editor ................................................................................................................ 21 Project View ...................................................................................................... 22 Input Bar .................................................................................................................. 22 Find ................................................................................................................. 22 XQuery ............................................................................................................. 22 Command ......................................................................................................... 23 Realtime Options ........................................................................................................ 23 Visualizations ............................................................................................................ 23 Look and Feels .......................................................................................................... 24 Changelog ................................................................................................................. 24 7. Shortcuts ........................................................................................................................ 26 Editor ....................................................................................................................... 26 Code Completions .............................................................................................. 26 Editor Shortcuts ................................................................................................. 26 Changelog ................................................................................................................. 29 8. Database Server ............................................................................................................... 30 Startup ...................................................................................................................... 30 iii BaseX Documentation Working on Command-Line ................................................................................. 30 9. Standalone Mode ............................................................................................................. 31 Startup ...................................................................................................................... 31 Create a Database ....................................................................................................... 31 Execute a Query ........................................................................................................ 31 Database Commands ................................................................................................... 31 Multiple Resources ..................................................................................................... 32 Backup and Restore .................................................................................................... 32 10. Web Application ............................................................................................................ 33 Deployment ............................................................................................................... 33 Servlet Container ........................................................................................................ 33 Configuration ..................................................................................................... 33 Authentication .................................................................................................... 34 Maven ...................................................................................................................... 35 Configuration ..................................................................................................... 35 Changelog ................................................................................................................. 35 11. DBA ............................................................................................................................ 36 Startup ...................................................................................................................... 36 First Steps ................................................................................................................. 36 Editor ......................................................................................................................