Re: [MarkLogic Dev General] Word add-in and Word 2010

2012-02-24 Thread Pete Aven
Hi Jakob, I received the .zip. But can you please send me the source .docx this test.xml is generated from? Something else is going on here so I'd like to test to try and recreate your issue. Also, I'm assuming this is the docx that you've saved to MarkLogic and that you are trying to use

Re: [MarkLogic Dev General] Word add-in and Word 2010

2012-02-24 Thread Pete Aven
Hi Jakob, I just sent you 2 files. From the Authoring App : Author/search/insert.xqy And from the TK : MarkLogic/Modules/MarkLogic/openxml/word-processing-ml-support.xqy The issue is this: Office 2010 requires namespace declarations for the root element of certain documents within the .docx

Re: [MarkLogic Dev General] Processing Large Documents?

2012-02-24 Thread Todd Gochenour
It's time for me to pick this project up now that the work week has passed. I'm attempting to implement Michael Blakeley's recommendation to move the SQL blob content into it's own document as part of this initial load/chunk phase. Here's how I see the strategy. As I iterate through each record

Re: [MarkLogic Dev General] Processing Large Documents?

2012-02-24 Thread Geert Josten
To my knowledge putting hexbin inside binary { } is the way to create a real binary. So your approach should already work. Did you check? A small optimization could be to make batches of let’s say about a 100 records, build a map:map of them, pass that to a spawn process that inserts all 100.