Hi Jan, i just tried it and it worked for me. I did use the GUI and changed in the parsing tab to csv. My csv has no header and i used semicolons. Kind regards, Andreas Am 18.01.11 11:57, schrieb Jan Vlčinský (CAD):
Hi *_BaseX 6.5 incl. rewritten web site is impressive_*. Really.
I go through it feature by feature and test it. Trying to import CSV file I have a problem
1. Creation of new database from xsv file or directory does not work (using default options, no changes) Reports "Line 1: Content is not allowed in prolog" 2. Adding document by Database - Add documents results in the same message 3. Trying to SET PARSER CSV did not change anything 4. Trying to add header with field names into imported file does not help
Questions
1. How to import CSV fle 2. What CSV format is expected 1. tab, coma, semicolon? 2. header with field name allowed/expected?
With best regards
Jan
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- Andreas Weiler Database& Information Systems Group, U Konstanz Room E 209, 0049 7531 88 4449 (phone) 3577 (fax) University of Konstanz