If I have an XElement that has child elements, and if I remove a child element from the parent, removing all references between the two, will the child XElement have the same namespaces as the parent?
In other words, if I have the following XML:
<parent xmlns:foo="abc">
<foo:child />
</parent>
and I remove the child element, will the child element's xml look like
<child xmlns="abc" />
or like
<child />