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?