This section explains how you write a saved search XML file that makes use of the above XQuery function and defines the required search parameters and result attributes.
Note:
Make sure that the value of XQuery function name and module namespace in the saved search XML file exactly match with the values specified in the XQuery module definition. Let's call this saved search XML file as TopXAPIsByAPIKeys.xml.