Greetings!
I have the following in the prolog of an XQuery:
declare namespace output = 'http://www.w3.org/2010/xslt-xquery-serialization'; declare option output:method 'basex'; declare option output:basex 'indent=yes, newline=\n';
I'm following the example at: https://docs.basex.org/wiki/Serialization for CSV, reasoning the same form should work for basex.
Sadly, BaseX 10.4 on Debian reports:
[XQST0109] Unknown option 'basex
Is it because basex isn't in the namespace of 'http://www.w3.org/2010/xslt-xquery-serialization'; ?
OK so I change the namespace to http://tm.durusau.net and it runs!
Sadly not applying the requested formatting.
Some guidance on serialization please?
Thanks!
Patrick