Dynamically declaring default element namespace?

View: New views
2 Messages — Rating Filter:   Alert me  

Dynamically declaring default element namespace?

by alex-448 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there a way to dynamically declare the default element namespace in a
query? Something like util:declare-namespace(), but for the default (i.e. no
prefix)? That would save me lots of work adding normal namespace prefixes to
elements - the query doesn't know beforehand what namespace it will be working
with).

--alex.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: Dynamically declaring default element namespace?

by alex-448 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, worked around my original problem, but i'd still be curious to know if
such a function exists somewhere (couldn't find anything in the docs).

> Is there a way to dynamically declare the default element namespace in a
> query? Something like util:declare-namespace(), but for the default (i.e. no
> prefix)? That would save me lots of work adding normal namespace prefixes to
> elements - the query doesn't know beforehand what namespace it will be working
> with).
>
> --alex.
>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open
LightInTheBox - Buy quality products at wholesale price