Checking the display of line breaks in the info view
Hello, I tried the following XQuery script out with the software “BaseX 9.7”. let $t1 := ``[line 1 line 2]``, $t2 := ``[line 3 line 4]`` return ('"' || $t1 || '"', "---", '"' || $t2 || '"') I observed the following display then in the info view. “… Optimized Query: ("""line 1 line 2""", "---", """line 3 line 4""") Query: let $t1 := ``[line 1 line 2]``, $t2 := ``[line 3 line 4]`` return ('"' || $t1 || '"', "---", '"' || $t2 || '"') …” May I expect that original line breaks will be preserved in the shown query display? Regards, Markus
May I expect that original line breaks will be preserved in the shown query display?
Yes, you can.
Thanks for your positive feedback. Another XQuery example: ``["line 1 line 2 line 3"]`` Corresponding info view: “… Optimized Query: """line 1 line 2 line 3""" Query: ``["line 1 line 2 line 3"]`` …” I find the shown query display improvable. Regards, Markus
participants (2)
-
Christian Grün -
Markus Elfring