Do you find the item “Query” still relevant for further displays?
Sure!
The teaching use is to compare the Query, …
How much do care that the display for the item “Query” would be equivalent to the original XQuery script (including special characters like line breaks)?
If the Query return has been rendered on a single line, well, XML doesn't consider white space significant, and a few reminders of that do no harm.
I suggest to reconsider such a view also a bit more.
Regards, Markus