[Mono-list] Questions about writing an XML document
atsushi at ximian.com
Tue May 9 08:53:56 EDT 2006
> I tried out the workaround and it no longer throws an exception. The XML I
> get looks like this:
> <?xml version="1.0"?>
> <doc xmlns="http://whatever.org/XMLSchema/foo"
> <foo />
> That should for now. Although I'm not sure what the 'd1p1' part is coming
> from. That's just part of the workaround I guess?
Oops, sorry my bad. It should be:
SetAttribute ("schemaLocation", XmlSchema.InstanceNamespace,
as its definition is SetAttribute(localName, namespaceURI, value).
More information about the Mono-list