On http://docs.basex.org/wiki/Serialization we see newline. But we have no idea how to make it work. Please add an example to that page!
declare option output:method "text"; declare option output:newline "\n"; for $m in (1,2,3) return $m
Nope no idea.
basex: Installed: 7.1.1-2