Set strip whitespace mode
15 Sep
2023
15 Sep
'23
4:31 p.m.
Dear BaseX folks, question: what is the recommended way of ensuring that an application calling BaseX via command-line (basex ...) uses a certain strip whitespace mode (true or false), if the application is deployed on servers with different BaseX versions? Option -w cannot naively be used, as it toggles the strip whitespace mode, so the effect depends on the version. I have not found out how to determine the version of BaseX reliably, using XQuery or a command. So how can a script decide whether or not to use -w? Thank you for help. Kind regards,Hans-Jürgen
937
Age (days ago)
937
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hans-Juergen Rennau