There is a <default_namespace> option you can use with
xdmp:document-load that could help.
-Mike
Tim Meagher wrote:
Hi Folks,
I have some XML content that is missing namespace declarations that
I'm trying to insert into MarkLogic. I don't know if this is a common
problem, especially when dealing with documents that reference DTDs by
location in a file system and which might expect the namespace
declarations to be included as entities in the DTD.
Is there a simple way to have namespaces added to a document during
the insert? I'm wondering if I have to create a precommit trigger
that adds the namespace to the document prior to inserting it, but it
would be nice if there was just a simple way of adding the namespaces
during the insert.
Thank you!
Tim Meagher
------------------------------------------------------------------------
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general