Personally I liked the marklogic 0.9 technique: declare namespace none=""
$item/self::none:ID It seems unfortunate the actual xquery standard couldn't accomodate that one. I recently had to dig through a bunch of code and get rid of the default namespace declarations for that reason :( -Mike On 09/07/2010 01:10 PM, Florent Georges wrote: > Danny Sokolsky wrote: > > >> fn:QName(fn:namespace-uri(.), fn:local-name(.)) >> > For that one, you can use fn:node-name(.) ;-) Yeah, if the OP does need > the default namespace statement, that's probably the best approach actually. > > Regards, > > _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
