Doesn't that mean that any tabs and or spaces inserted by an editor could be left in the fray, especially if the lines of code are indented?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Lee, David Sent: Monday, November 08, 2010 4:49 PM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] question about newline character And hope it doesnt end up as CR/NL if you edited the file on a windows system. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Danny Sokolsky Sent: Monday, November 08, 2010 4:20 PM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] question about newline character Or you can always just put a newline in the string for the second arg of string-join: fn:string-join(("hello", "there"), " ") => hello there -Danny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Lee, David Sent: Monday, November 08, 2010 12:52 PM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] question about newline character Use character entity encoding &x0a; example: "foo
bar" I find this page extremely useful to translate any unicode char/string into various representations. http://rishida.net/tools/conversion/ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of helen chen Sent: Monday, November 08, 2010 3:48 PM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] question about newline character Hi there, In Marklogic xquery, if I have a sequence of string, and I want to join this sequence with new line character, like using fn:string-join(), how do I specify the new line character? Thanks, Helen _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
