Hi,

The following should work:

declare namespace foo = "http://www.foo.com";;

<namespace>{fn:namespace-uri(<foo:bar/>)}</namespace>

Best Markus
Am 26.05.2010 um 22:48 schrieb cOre dUmPeR:

> Probably an easy question but, is there a way to get the string value of a 
> declared namespace? 
> 
> For example:
> 
>     declare namespace foo = "http://www.foo.com";
>     <namespace_str>{ foo }</namespace_str>
> 
> I suppose I could always declare a variable with its value set as 
> "http://www.foo.com"; ...but I'd rather not since then there would be 2 places 
> where to keep track of the same value
> 
> thanks,
> /marv
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to