|
Home >Online Product Documentation >Table of Contents >Using a Library Module Using a Library ModuleOnce you have created a library module and imported it into an XQuery, you can easily add user-defined functions to your XQuery. Earlier, we showed the creation of a library module consisting of two user-defined functions, total-price and titleQuantity. Once the library module is imported, the user-defined functions defined in the module are available by right-clicking the XQuery Mapper canvas and choosing User Defined Functions from the short-cut menu. All user-defined functions that are specified in any library modules you have imported are available from the User Defined Functions short-cut menu, as shown in the following illustration: |