15 Sep
2013
15 Sep
'13
1:07 a.m.
Am Freitag, 13. September 2013, 11:37:28 schrieb Joe Templeman:
I'm trying to add a collection of files which are all valid XML but when I'm doing the add with this command:
db:add("db", "/data/xml/docs/", "docs")
where /data/xml/docs contains a number of XML files with a .s9ml file extension, nothing gets added to the database, however if I rename that file.xml, it works. Is there somewhere I can set what file extensions should be used? I can't seem to find anything in any of the docs about this.
Try the CREATEFILTER option [1] like this: set createfilter *.s9ml Best regards, Dimitar [1] http://docs.basex.org/wiki/Options#CREATEFILTER