Title: Stop DataContractSerializer putting in namespace?
Tags: datacontractserializer;datacontract
Question: I want to serialize datacontract classes into XMl, but without the Namespaces.

I've added:

```[DataContract(Namespace="")]
```

but I still get:

```<Person xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt;
<Title&gt;Mr</Title&gt;
...
</Person&gt;
```

Is there any way to stop this happening as I just want the clean xml to pass into a legacy component.




{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 2.5', 'CreationDate': '2010:00:09/28/10', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<datacontractserializer><datacontract>', 'Title': 'Stop DataContractSerializer putting in namespace?', 'ViewCount': 2838, 'id': 3811696, 'user_AboutMe': '', 'user_AccountId': 202218.0, 'user_DisplayName': 'BlueChippy', 'user_Reputation': 5725.0, 'user_Views': 438.0, 'user_id': 449156.0}}