Creating an XQuery Map File
Use Oracle JDeveloper to create XQuery maps. XQuery maps are included in the project as .xqy files.
XQuery maps can be created as main modules and library modules. A main module is an executable XQuery file. A library module is used to group and store XQuery functions. When you import a library module into a main module, all functions in the library module become available in the main module.