How do I ensure that all of the namespaces I create for my document are displayed only once in the body of the topmost element, and that any references from then on display the prefix only? The way I have things set up at this point causes each namespace to be shown the first time it is referenced. How do I avoid this?