I have tried:
public Class exampleClass
{
[System.Xml.Serialization.XmlAttributeAttribute("schemaLocation", Namespace = "http://www.rewerse.net/I1/2006/R2ML http://oxygen.informatik.tu-cottbus.de/R2ML/0.4/R2ML.xsd")]
public string schemaLocation;
}
where "exampleClass" is the root node in the serialized document.
The output should be like:
<exampleClass schemaLocation="http://oxygen.informatik.tu-cottbus.de/R2ML/0.4/R2ML.xsd">
...
</exampleClass>
what comes out is more like:
<exampleClass xmlns="http://oxygen.informatik.tu-cottbus.de/R2ML/0.4/R2ML.xsd">
...
</exampleClass>