I assume you build your document using the XmlObject generated interfaces. In 
that case the generated names (prefix + local name) will match whatever you had 
in your Schema. You can 'fix' the namespaces/names with XmlCursor, but that 
shouldn't be needed. A concrete example would help in that case.

Radu 

-----Original Message-----
From: Jorge Rodríguez Sacristán [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 24, 2007 3:52 AM
To: [email protected]
Subject: Force a namesapce

Hi all,
I'm using XmlBeans and XFire. One of the elements of the Xml I'm sending needs 
the namespace prefix declaration at the beginig of the fragment, althoug this 
namespace is also needed through out the rest of the document, so it has to be 
declared at the root and then re-declared at the beginig of the fragment. I've 
been playing around with XmlOptions but can´t find a way to get this.

Thank you!
Jorge.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to