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:[email protected]] De la part 
de Kittelmann, Maike
Envoyé : mercredi 4 juillet 2018 11:31
À : '[email protected]'
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 Kittelmann
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

[email protected]
http://www.sub.uni-goettingen.de<https://email.gwdg.de/owa/redir.aspx?C=TxY71q4kfUCSjLXiZog64-dZmmdWU9EIVyC3M2WgfbXTx2JT4hHmMWOp4VihS16upJ2RNhJuxcE.&URL=http%3a%2f%2fwww.sub.uni-goettingen.de>

Reply via email to