Hello,

I’ve managed to retrieve a batch of documents from the search service, such as:

--ML_BOUNDARY_67546754645634
Content-Type: application/xml
Content-Disposition: attachment; filename="/2015/11/18/20848763"; 
category=content; format=xml
Content-Length: 11084

(XML GOES HERE)


--ML_BOUNDARY_453535345353

Content-Type: application/xml

Content-Disposition: attachment; filename="/2015/11/18/20848766"; 
category=content; format=xml

Content-Length: 11121

(XML GOES HERE)

I was wondering how best to split them up so they’re usable?

I was hoping the MLPHP library had support for this, but it appears it does 
not. I can split them up using a very dirty method in PHP but there has to be a 
nice clean way to read them in PHP. I essentially want each XML returned in its 
own array index.

Any ideas?

Thanks,

Ashley



[cid:[email protected]]


[cid:[email protected]]


Ashley Peacock


Developer II
Elevate Credit International Limited
P: 01284 717800 | Ext: 877 |  Elevate.co.uk<http://elevate.co.uk>
Amadeus House, Floral Street, Covent Garden, London WC2E 9DP




Privileged and Confidential. This e-mail, and any attachments thereto, is 
intended only for use by the addressee(s) named herein and may contain 
privileged and/or confidential information. If you have received this e-mail in 
error, please notify me immediately by a return e-mail and delete this e-mail. 
You are hereby notified that any dissemination, distribution or copying of this 
e-mail and/or any attachments thereto, is strictly prohibited.

Elevate Credit International Limited is registered in England & Wales with 
Company Number 05041905. Registered Office: 27-28 Eastcastle Street, London, 
W1W 8DH


_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to