Hi Werner, Werner Haug <werner.haug at agfa.com> writes: > What do I have to do to get > xmlns="ns1.ns2" and <Element>E</Element> > instead > xmlns:ns="ns1.ns2" and <ns:Element>E</ns:Element> Pass the empty string as a prefix to indicate you are mapping the default namespace: doc_s.add_prefix ("", "ns1.ns2"); Boris