Proper name space management in .NET XmlWriter
问题 I use .NET XML technologies quite extensively on my work. One of the things the I like very much is the XSLT engine, more precisely the extensibility of it. However there one little piece which keeps being a source of annoyance. Nothing major or something we can't live with but it is preventing us from producing the beautiful XML we would like to produce. One of the things we do is transform nodes inline and importing nodes from one XML document to another. Sadly , when you save nodes to an