[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: I need to make sure that all namespace declarations get output to a particular element, not the document element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 22 Mar 2007 15:01:47 GMT
> which means, imo, that the declaration for the 'http://www.xyz.com' 
> namespace, which is put on the RLE 'elem' is moved to an descendant, 
> namely the 'test:other-ns-now' element.

not moved no, that namespace node wasn't placed in the result tree as
the e-r-p declaration at the top suppressed it, so there is nothing to
serialise at that point. The namespace node on <test:other-ns-now>
can't be surpressed so it is copied to teh result tree, and is
serialised as you show.

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member