Hi,

On 10/1/07, Adam Pelletier <[EMAIL PROTECTED]> wrote:
> I can't seem to wire the namespaces together and get "_pre2" in the
> output.  I was expecting this to be "md" and not "_pre2".

Using Session.setNamespacePrefix() only affects the current session.
You'll want to use NamespaceRegistry.registerNamespace() if you want
to globally register a specific prefix for a namespace.

The _pre2 prefix in your example is autoregistered by the XML import
code when it sees a namespace URI that hasn't been explicitly
registered in the global namespace registry.

BR,

Jukka Zitting

Reply via email to