Hi Emmanuel,
Could you possible give us an example? Do you try to do something like..
function-lookup(xs:QName('pref:ln'))
..and would you like to find out the namespace for the 'pref' prefix?
Best, Christian
On Tue, Feb 10, 2015 at 2:01 PM, Emmanuel Chateau emchateau@laposte.net wrote:
We wanna test if a function exists with fn:function-lookup
As fn:function-lookup only takes QNames, in some cases the namespace isn’t declared. So unsurprisingly, we get an error FONS0004 No namespace declared for prefix ‘……’
Is there any way to test if the namespace is declared first ?
Thanks a lot, and best regards ! Emmanuel