Hi there,
I'm looking at an xml document that's in one format, and wanting to
convert it to another format, and I don't want to use an XSLT because
its too slow.
My current problem is, the current format uses Schemas and namespaces,
and the old document doesn't. (I'm trying to go from the current
format, back to the old format, for backwards compatibility)
I'd like to just take an XMLOutputter, and tell it to print the document
but don't print any namespace information for the elements, but that
doesn't seem to be an option. I'd then like to override the call to
printNamespace in XMLOutputter, but it's a private call, so I can't do
that.
Is there an easier way to either not read in the name space information
/ wipe out the name space information in the document / not print the
namespace information in the final document?
Thank you very much.
Cheers,
Dave
-------
David Beleznay
Software Engineer
WebCT