I read about collections in Saxonica documentation. It mentions about catalog files.

I wanted to know whether I can use this catalog file for listing all the  directories and xml files which are to be used in Xquery expressions.
I want to make separate xquery files which will be called from java application using XQJ implementation.
How can I reference the files mentioned in catalog files in my xquery expressions?
Please explain.

Also I have a question about properties file.
I made a property file having:
ClassName = net.sf.saxon.xqj.SaxonXQDataSource
BaseUri = C:/Users/A/Documents/Sweta/users

I am using this file for creating my connection.
Properties p = new Properties();
                p.load(new FileInputStream(System.getProperty("user.dir")+"/temp/xqj.properties"));

                String xqdsClassName = p.getProperty("ClassName");
                Class xqdsClass = Class.forName(xqdsClassName);

                SaxonXQDataSource dataSource = (SaxonXQDataSource) xqdsClass.newInstance();

 I wanted to know whether the  BaseUri I am giving in the property file will be referenced   by xquery Expressions. If yes, how can I make a reference to this Base Uri in my xquery expression to use all the xml files and sub directories under this Uri.

Thanks and Regards