Create XML node with prefix but no namespace

Hello, I am trying to convert some data into an XML file.

I need nodes like this

dat:Company?</dat:Company>
dat:Language?</dat:Language>

I could achieve this by XmlDocument.createElement3(prefix, name, namespace), but the problem is that I do not want that namespace tag on the node… Could I somehow disable it?

Figured it out myself, Im just new to xml… if the parent nodes namespace is the same as the child namespace, then it wont display it!