Set a default namespace?

Jun 5, 2013 at 3:53 AM
Edited Jun 5, 2013 at 3:57 AM
Is it possible to set a default namespace using the mce_writer?

<?xml version="1.0"?> <!-- As an aside, shouldn't this include the encoding?! -->
<item xmlns:mce="" xmlns:r="" xmlns="" title="">
<blah>Is in the default xmlns</blah>
Doing this:
mceTextWriterRegisterNamespace(w, _X(XmlTags::defaultNamespace), NULL, MCE_DEFAULT);
Doesn't add the namespace anywhere.
Jun 6, 2013 at 9:15 AM

there is. However it turns out there is a bug. I'll update the source...


Jun 6, 2013 at 10:40 AM
Ok thanks. I'll keep an eye out for the update.