Thank you for the clarification and the example – I wasn’t aware of this option.
Von: Christian Grün <christian.gr...@gmail.com> Gesendet: Montag, 1. Juli 2024 10:34 An: Zimmel, Daniel <d.zim...@esvmedien.de> Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Command line "-i" directory does not update files when file extension not "xml" Hi Daniel, You can include .xsl files via the CREATEFILTER option [1]: java -jar BaseX.jar -u -c"set createfilter *.x,*.xsl" -ilocalpath update.xquery Hope this helps, Christian [1] https://docs.basex.org/main/Options#createfilter On Fri, Jun 28, 2024 at 3:36 PM Zimmel, Daniel <d.zim...@esvmedien.de<mailto:d.zim...@esvmedien.de>> wrote: Hi, is the following behaviour a bug or does it need better documentation? When in a directory of XML files one file extension is not .xml but .xsl then with java -cp BaseX.jar org.basex.BaseX -u -w -i"localpath/" update.xquery only .xml-files get updates (not .xsl) Only with java -cp BaseX.jar org.basex.BaseX -u -w -i"localpath/file.xsl" update.xquery the .xsl-file does get an update. BaseX 11.0 The documentation only says: " Opens the specified XML file, directory with XML files, or database", but not anything about file extensions. https://docs.basex.org/main/Command-Line_Options Thanks, Daniel