Hi Maike,

 

In order to automate non XML files importation,

You could write and run a command file (.BXS) [2] containing two things :

-          needed parsing options [1]

-          Create or add command

 

[1] http://docs.basex.org/wiki/Options#Parsing

[2] http://docs.basex.org/wiki/Commands

 

BXS files can easily be written in xml, so you can even automate the automation process,

By writing parametrized XQuery generating BXS XML running BaseX Commands…

 

Best regards,

 

Fabrice Etanchaud

Cerfrance PCH

 

 

De : BaseX-Talk [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de Kittelmann, Maike
Envoyé : mercredi 4 juillet 2018 11:31
Ā : 'basex-talk@mailman.uni-konstanz.de'
Objet : [basex-talk] basex csv import cmd

 

Dear BaseX users,

 

 

I often make use of importing files to BaseX via command line. For XML this works fine. Currently, I work with CSV-files that I import to BaseX via GUI.

 

I would like to automatize this process as I do with XML-Import files. Unfortunately, I didn’t find any instructions so far how I can apply these same GUI CSV import settings to the import via command line. Is this possible?

 

 

Best regards,

 

Maike Kittelmann

 

 

--

Maike Kitt
elmann

Metadaten und Datenkonversion


Georg-August-Universität Göttingen
Niedersächsische Staats- und Universitätsbibliothek Göttingen
D-37070 Göttingen

Papendiek 14 (Historisches Gebäude, Raum 1.617)
+49 551 39-10249


kittelmann@sub.uni-goettingen.de
http://www.sub.uni-goettingen.de