What does it mean "content is not allowed in prolog"? Perhaps the input method needs to be set first? I'm trying to add data to an empty database in Basex
with dummy data as below:
thufir@dur:~/flwor/people$
thufir@dur:~/flwor/people$ basex
BaseX 9.0.1 [Standalone]
Try 'help' to get more information.
> open people
Database 'people' was opened in 199.0 ms.
>
> add to people /home/thufir/flwor/people/people.txt
"/home/thufir/flwor/people/people.txt" (Line 2): Content is not allowed in prolog.
>
> exit
Have a nice day.
thufir@dur:~/flwor/people$
thufir@dur:~/flwor/people$ cat people.txt
a
1
2
3
b
4
5
6
c
7
8
9
thufir@dur:~/flwor/people$
I could make it CSV
or other, but would like to use just plain text.
Certainly it can be added through the GUI as:
Selecting the file: