Hi, I don't quite get what you are asking for. All functions within the module should belong to the same namespace. So i.e. you could simply put your bookstore() function into the page namespace (i.e. use "declare function page:bookstore()") or you could place all the functions bound to the page namespace to the book namespace. Cheers, Dirk On 10/01/14 13:47, e-letter wrote:
On 10/01/2014, Dirk Kirsten <dk@basex.org> wrote:
You just want to have one module namespace statement. This statement determines the target namespace of the whole module, hence having multiple statements is invalid. See the spec for some more information: http://www.w3.org/TR/xquery/#id-module-declaration
The specification states that every variable must be declared, but if the namespace 'http://basex.org/modules/web-page' does not include the element 'book' and any new namespace url that I declare does not include the basex web page modules, how can I declare only one valid namespace?
-- Dirk Kirsten, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22