[MarkLogic Dev General] Can't insert document with square brackets in uri

Danny Sinang d.sinang at gmail.com
Wed Mar 18 12:03:34 PDT 2015


I'm trying to programmatically copy a powerpoint template file from one ML
directory to another using xdmp:document-insert().

Problem is, that file's URI (see below) has square brackets in it.

[Content_Types].xml



I wish I could just rename that source file, but that's how MS Powerpoint
named it.

Renaming it, and then zipping it up into a .pptx file results in a
corrupted Powerpoint file.

Is there another way to do the copying ?

Regards,
Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150318/dcdd4da5/attachment.html 


More information about the General mailing list