Re: [MarkLogic Dev General] Record Loader - not ableloabinaryfile (pdf, images)

2013-04-25 Thread Mohanraj Chozhan
ssage- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Michael Blakeley Sent: Thursday, April 25, 2013 8:58 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Record Loader - not ableloabinaryfile (pdf, images)

Re: [MarkLogic Dev General] Record Loader - not ableloabinaryfile (pdf, images)

2013-04-25 Thread Michael Blakeley
When you set DOCUMENT_FORMAT=binary, you are telling RecordLoader to load all the documents as BLOBs. Those are binary nodes, with no structure for XPath to work on. See http://developer.marklogic.com/blog/document-formats-part1 for more about MarkLogic's ability to store and work with documents

Re: [MarkLogic Dev General] Record Loader - not ableloabinaryfile (pdf, images)

2013-04-25 Thread Mohanraj Chozhan
Hi, I have some xml files, jpeg and pdf files to load to Marklogic database. Also once the xmls documents are loaded to the marklogic database I need to perform some xpath operations. I have set DOCUMENT_TYPE=binary and INPUT_PATTERN=.+\\.(PDF|JPG|pdf|jpg|[Xx][Mm][Ll])$. Obviously the problem