RE: Large xmldocuments and namespace declarations

2007-12-12 Thread Cezar Andrei
e.org Subject: RE: Large xmldocuments and namespace declarations Yes i did. But the problem with this is that the method must be run after you build the entire structure in memory. Then it iterates twice over it and that takes quite a lot of cpu time. I want to be able to add the namespaces and pre

RE: Large xmldocuments and namespace declarations

2007-12-12 Thread knut . erik . johnsen
run this method to change them afterwards. mvh Knut-Erik Johnsen "Cezar Andrei" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12.12.2007 21:07 Please respond to user@xmlbeans.apache.org To cc Subject RE: Large xmldocuments and namespace declarations Knut,

RE: Large xmldocuments and namespace declarations

2007-12-12 Thread Cezar Andrei
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 2:00 AM To: user@xmlbeans.apache.org Subject: Re: Large xmldocuments and namespace declarations Thanks for your reply. The problem is that when i do a save or a toString on the responseDocument, I

Re: Large xmldocuments and namespace declarations

2007-12-11 Thread knut . erik . johnsen
s. Is there any way to achieve my desired goal, or is this not possible with the way xmlbeans works currently? mvh Knut-Erik Johnsen "Jacob Danner" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11.12.2007 03:28 Please respond to user@xmlbeans.apache.org To user@xmlbeans.

Re: Large xmldocuments and namespace declarations

2007-12-10 Thread Jacob Danner
Hi Knut, There is a method on XmlOptions that you can populate with a Map containing Qnames for the namespaces in your document. I don't have the javadoc in front of me, but I think its setSaveSuggestedPrefix(). I've also had some success walking the instance via the XmlCursor API and adding namesp