Support for format “XQuery” by CSV parser configuration?
Wednesday, 6 April 2022 · 2 messages · last reply 8 Apr 2022
ME
Markus Elfring6 Apr 2022 16:10 #
Hello,
I would like to create another database from a CSV file with the software “BaseX 9.7”. It seems that I can not choose the format option “XQuery” on the tab “Parsing” of the dialogue “Create Database”.
https://docs.basex.org/wiki/CSV_Module#Conversion
Will any further configuration parameters become relevant for the CSV data import?
Regards,
Markus
CG
Christian Grün8 Apr 2022 15:36 #
Quoted text · Markus Elfring · 4 lines
> I would like to create another database from a CSV file with the software “BaseX 9.7”. > It seems that I can not choose the format option “XQuery” on the tab “Parsing” > of the dialogue “Create Database”. > https://docs.basex.org/wiki/CSV_Module#Conversion
The 'xquery' format converts a CSV string to XQuery data types (arrays and maps). If you want to store CSV in a database, you can choose one of the remaining formats, which convert the string to XML.
Written for BaseX 9.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery