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 'basexIs 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 -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.net Twitter: patrickDurusau
OpenPGP_signature
Description: OpenPGP digital signature