[xquery-talk] namespace declarations in an element

Ghislain Fourny gfourny at inf.ethz.ch
Thu May 26 07:37:00 PDT 2011


Hi Michael,

I think this might be what you are referring to (you sent the link in an earlier message):

> There's a workaround described here:
> 
> http://fgeorges.blogspot.com/2006/08/add-namespace-node-to-element-in.html
> 
> (It's not that dissimilar from the workaround you have to use in XSLT 1.0.)
> 
> Michael Kay
> Saxonica

Kind regards,
Ghislain


> There's a workaround invented by David Carlisle which I can't lay my hands on at the moment. It involves using a computed attribute constructor to create an attribute in the desired namespace, copying this attribute to the target element, then discarding the attribute again - but I forget the details.
> 
> Michael Kay
> Saxonica
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk




More information about the talk mailing list