Focal Point
Writing to XML -- Can You Remove the "xmlns:xsi=http" Part?

This topic can be found at:

March 14, 2013, 09:59 AM
Writing to XML -- Can You Remove the "xmlns:xsi=http" Part?
Hey Clif, I've broken my XML write routine into two pieces so that it creates the hundreds of thousands of repeating elements (files run about 100MB) inside the root tag as a separate file. This turns the run into a rocket-sled ride instead of coming to a slow stop when it's written in the full hierarchy. What remains is to cut and paste the header and footer.

Yes, I'm still on 7.7.03 and I don't have permission to change that.

Here's the question -- when I write each repeating element as the "top" element in the output, I get the xmlns attribute in its tag. Is there a way to turn that off?

I'm trying to decide if some part of the synonym is overtly attaching that and can be removed (I have a separate synonym for the repeating element on its own) or if it's just along for the ride and I can't do anything about it.


March 18, 2013, 03:15 PM
No I'm sorry. DataMigrator with XML targets is designed to produce only valid, well-formed XML documents.