Have you tried this on 4.2-4?

From: [email protected] 
[mailto:[email protected]] On Behalf Of ravi.r
Sent: Friday, May 20, 2011 6:55 AM
To: [email protected]
Subject: [MarkLogic Dev General] Formatting by marklogic

Hi

I'm trying to implement a functionality where i add and find some markups to an 
xml file. The functionality requires the documents used for adding and 
retrieving to be exactly identical including white-spaces. But I have to save a 
file from file-system to MarkLogic first and then retrieve the file from ML and 
use it to add the markups. While finding the markups I'm using the xml that is 
available in file-system. The file from file-system is un-formatted (without 
indents) while the file stored and retrieved from ML is formatted. Hence I'm 
unable to execute my functionality. Is there any way to stop ML from indenting 
the document while saving and retrieving. I've used

declare boundary-space strip;
declare option xdmp:output "indent=no";

Still I'm getting only those formatted document.


Regards,
Ravi R
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to