Stephen,
You can call the Marshaller#setNamespaceMapping(prefix, uri);
All namespace mappings declared up front are automatically declared at the root level (which is why the setNSPrefixAtRoot method was deprecated since that is the default behavior anyway).
--Keith
Stephen Bash wrote:
Everyone-
So I want the Marshaller to define the xsi namespace (xmlns:xsi) once, rather than in every element as Castor does by default. I found the setNSPrefixAtRoot method, but it is deprecated. Is there a replacement method or some procedure I'm supposed to go through to move the xsi namespace declaration into the root element?
Thanks, Stephen
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
