[MarkLogic Dev General] Can I add missing namespaces during a document insert?

Tim Meagher tim at aaom.net
Tue Dec 29 09:48:31 PST 2009


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20091229/82615a0f/attachment.html


More information about the General mailing list