Hi Folks,

 

I am extracting text from an xml file which can be downloaded by a user. The 
file extension is custom. To create the record I basically walk through the XML 
elements and generate the corresponding text, e.g.

 

                text{“first line”},

                text{“second line”},

                …

 

When the user downloads the file, the Windows form of linefeeds are required 
(CR-LF) and I’m trying to determine how to force that, if it is in the content 
type, disposition, or merely in the way in which I add linefeeds to the 
generate text, e.g.

 

                text{“first line”}, “
”, “
”

                text{“second line”}, “
”, “
”

                …

 

It seems that using the text{“”} directive adds the linefeed character to the 
generated text without explicitly adding CR-LF.

 

Thank for any help with this!

 

Tim M.

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

Reply via email to